feat: queue len show

This commit is contained in:
archer
2023-08-14 11:39:42 +08:00
parent 4952a48c52
commit bb7596c3d5
7 changed files with 57 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ export async function generateVector(): Promise<any> {
const data = await TrainingData.findOneAndUpdate(
{
mode: TrainingModeEnum.index,
lockTime: { $lte: new Date(Date.now() - 2 * 60 * 1000) }
lockTime: { $lte: new Date(Date.now() - 1 * 60 * 1000) }
},
{
lockTime: new Date()