We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069661b commit 15872a4Copy full SHA for 15872a4
1 file changed
index.ts
@@ -574,7 +574,7 @@ export default class I18nPlugin extends AdminForthPlugin {
574
575
const backgroundJobsPlugin = this.adminforth.getPluginByClassName<any>('BackgroundJobsPlugin');
576
577
- backgroundJobsPlugin.updateJobFieldsAtomicly(jobId, async () => {
+ backgroundJobsPlugin.updateJobFieldsAtomically(jobId, async () => {
578
// do all set / get fields in this function to make state update atomic and there is no conflicts when 2 tasks in parallel do get before set.
579
// don't do long awaits in this callback, since it has exclusive lock.
580
let totalUsedTokens = await backgroundJobsPlugin.getJobField(jobId, 'totalUsedTokens');
0 commit comments