summaryrefslogtreecommitdiff
path: root/components/subscriptions/typing.py
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2025-10-05 07:24:22 +0300
committerA Farzat <a@farzat.xyz>2025-10-05 07:24:22 +0300
commit3b418daf684f01a126a56b58c83120af5914f576 (patch)
tree20b6ea9487cce5a90cff8696085b8c3f7783db75 /components/subscriptions/typing.py
parent66194a36af3d1f6897e8fd0e3b61388cb18f6e1f (diff)
downloadcsca5028-3b418daf684f01a126a56b58c83120af5914f576.tar.gz
csca5028-3b418daf684f01a126a56b58c83120af5914f576.zip
Remove the redundant scheduler class
This allows fetching the database every time, ensuring any updates to the database between fetches as captured.
Diffstat (limited to 'components/subscriptions/typing.py')
-rw-r--r--components/subscriptions/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/subscriptions/typing.py b/components/subscriptions/typing.py
index bac3620..c16d636 100644
--- a/components/subscriptions/typing.py
+++ b/components/subscriptions/typing.py
@@ -6,7 +6,7 @@ from components.videos import VideoTuple
class SubsDict(TypedDict):
_id: str
link: str
- time_between_fetches: int # In minutes.
+ time_between_fetches: int # In seconds.
last_fetch: datetime
last_video_update: datetime
last_viewed: datetime