mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 22:55:46 +01:00
Check branch after a timeout.
This commit is contained in:
@@ -160,6 +160,7 @@ defineModule.time = function time(major, minor, func, self) {
|
||||
catch (e) {
|
||||
loaded.util && util.reportError(e);
|
||||
}
|
||||
|
||||
let delta = Date.now() - time;
|
||||
defineModule.times.all += delta;
|
||||
defineModule.times[major] = (defineModule.times[major] || 0) + delta;
|
||||
|
||||
Reference in New Issue
Block a user