Delete old fanouts after a day

This commit is contained in:
Andrew Godwin 2023-01-08 13:51:30 -07:00
parent a875dd7a54
commit 4276260c2e

View file

@ -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)