Fix batch methods like AddUsersInBatch()

This commit is contained in:
Yang Luo
2023-10-08 19:33:28 +08:00
parent 23c4fd8183
commit d06d7c5c09
8 changed files with 21 additions and 16 deletions

View File

@ -196,7 +196,10 @@ func RunSyncUsersJob() {
}
for _, syncer := range syncers {
addSyncerJob(syncer)
err = addSyncerJob(syncer)
if err != nil {
panic(err)
}
}
time.Sleep(time.Duration(1<<63 - 1))