fix(core): update

This commit is contained in:
Philipp Kunz 2023-08-15 19:55:52 +02:00
parent 1235ae2eb3
commit f542463bf6
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartdata', name: '@push.rocks/smartdata',
version: '5.0.29', version: '5.0.30',
description: 'do more with data' description: 'do more with data'
} }

View File

@ -182,7 +182,7 @@ export class SmartdataDistributedCoordinator extends plugins.taskbuffer.distribu
(instanceArg) => (instanceArg) =>
instanceArg.data.status === 'bidding' && instanceArg.data.status === 'bidding' &&
instanceArg.data.lastUpdated >= instanceArg.data.lastUpdated >=
Date.now() - plugins.smarttime.getMilliSecondsFromUnits({ seconds: 6 }) Date.now() - plugins.smarttime.getMilliSecondsFromUnits({ seconds: 10 })
); );
console.log(`found ${biddingInstances.length} bidding instances...`); console.log(`found ${biddingInstances.length} bidding instances...`);
this.ownInstance.data.elected = true; this.ownInstance.data.elected = true;