From 676bc8c0ee5362b8d1f1e99fad0f7d666d9f9cc2 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 4 Dec 2022 10:46:59 -0700 Subject: Make the user fetch interval much longer --- users/models/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/models') diff --git a/users/models/identity.py b/users/models/identity.py index 6957526..c435713 100644 --- a/users/models/identity.py +++ b/users/models/identity.py @@ -30,7 +30,7 @@ class IdentityStates(StateGraph): """ outdated = State(try_interval=3600, force_initial=True) - updated = State(try_interval=86400, attempt_immediately=False) + updated = State(try_interval=86400 * 7, attempt_immediately=False) outdated.transitions_to(updated) updated.transitions_to(outdated) -- cgit v1.2.3