Fix issue where Antigravity auth is not working
This commit is contained in:
@@ -51,6 +51,7 @@ export function clearExpiredLimits(accounts) {
|
|||||||
|
|
||||||
for (const account of accounts) {
|
for (const account of accounts) {
|
||||||
if (account.isRateLimited && account.rateLimitResetTime && account.rateLimitResetTime <= now) {
|
if (account.isRateLimited && account.rateLimitResetTime && account.rateLimitResetTime <= now) {
|
||||||
|
account.isRateLimited = false;
|
||||||
account.rateLimitResetTime = null;
|
account.rateLimitResetTime = null;
|
||||||
cleared++;
|
cleared++;
|
||||||
logger.success(`[AccountManager] Rate limit expired for: ${account.email}`);
|
logger.success(`[AccountManager] Rate limit expired for: ${account.email}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user