mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-11-01 22:03:10 +08:00
chore: cleanup
This commit is contained in:
@@ -137,7 +137,7 @@ export async function checkUpdate(APPKEY: string, isRetry?: boolean) {
|
|||||||
assertRelease();
|
assertRelease();
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
if (lastResult && now - lastChecking < 1000 * 60) {
|
if (lastResult && now - lastChecking < 1000 * 60) {
|
||||||
logger('repeated checking, ignored');
|
// logger('repeated checking, ignored');
|
||||||
return lastResult;
|
return lastResult;
|
||||||
}
|
}
|
||||||
lastChecking = now;
|
lastChecking = now;
|
||||||
|
|||||||
Reference in New Issue
Block a user