We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1220030 commit 2c3d0e1Copy full SHA for 2c3d0e1
server/app/utils/TwitterGraphQLAPI.py
@@ -87,16 +87,17 @@ def __new__(cls, twitter_account: TwitterAccount) -> TwitterGraphQLAPI:
87
88
# Zendriver で自動操作されるヘッドレスブラウザのインスタンス
89
instance._browser = TwitterScrapeBrowser(twitter_account)
90
+
91
# 一定期間後にヘッドレスブラウザをシャットダウンするタスク
92
instance._shutdown_task = None
93
# self._shutdown_task へのアクセスを保護するためのロック
94
instance._shutdown_task_lock = asyncio.Lock()
-
95
- # GraphQL API の前回呼び出し時刻
+ # GraphQL API の前回呼び出し時刻 (UNIX 時間)
96
instance._last_graphql_api_call_time = 0.0
97
98
- # ツイート送信時の排他制御用のロック・前回ツイート時刻
+ # ツイート送信時の排他制御用のロック
99
instance._tweet_lock = asyncio.Lock()
100
+ # 前回ツイートを送信した時刻 (UNIX 時間)
101
instance._last_tweet_time = 0.0
102
103
# 生成したインスタンスを登録する
0 commit comments