Delete old fanouts after a day

pull/379/head
Andrew Godwin 2023-01-08 13:51:30 -07:00
rodzic a875dd7a54
commit 4276260c2e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -10,7 +10,7 @@ from users.models import FollowStates
class FanOutStates(StateGraph):
new = State(try_interval=600)
sent = State()
sent = State(delete_after=86400)
failed = State(delete_after=86400)
new.transitions_to(sent)