summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-04 10:46:59 -0700
committerAndrew Godwin2022-12-04 10:46:59 -0700
commit676bc8c0ee5362b8d1f1e99fad0f7d666d9f9cc2 (patch)
tree08d2f3b6049b744e34f5ac829c54a1f80054fe43
parentc3d4d0f547d1971f35b919a15ec65be548f2a52d (diff)
downloadtakahe-676bc8c0ee5362b8d1f1e99fad0f7d666d9f9cc2.tar.gz
takahe-676bc8c0ee5362b8d1f1e99fad0f7d666d9f9cc2.tar.bz2
takahe-676bc8c0ee5362b8d1f1e99fad0f7d666d9f9cc2.zip
Make the user fetch interval much longer
-rw-r--r--users/models/identity.py2
1 files changed, 1 insertions, 1 deletions
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)