mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2026-01-23 16:14:23 +08:00
fixed: scanner.py - better limitation check
This commit is contained in:
parent
e55d9416dc
commit
2645d62991
@ -293,7 +293,7 @@ def update_custom_nodes():
|
||||
pass
|
||||
|
||||
def is_rate_limit_exceeded():
|
||||
return g.rate_limiting[0] == 0
|
||||
return g.rate_limiting[0] <= 11
|
||||
|
||||
if is_rate_limit_exceeded():
|
||||
print(f"GitHub API Rate Limit Exceeded: remained - {(g.rate_limiting_resettime - datetime.datetime.now().timestamp())/60:.2f} min")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user