1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-26 18:58:21 +02:00

Desktop: Remove plugin backoff handler for now

This commit is contained in:
Laurent Cozic 2022-05-17 14:08:25 +01:00
parent 81ea66f4ad
commit 7ec3a7be9f

View File

@ -97,6 +97,7 @@ export default class PluginRunner extends BasePluginRunner {
return cb(...args);
}
// @ts-ignore
private backOffHandler(pluginId: string): BackOffHandler {
if (!this.backOffHandlers_[pluginId]) {
this.backOffHandlers_[pluginId] = new BackOffHandler(pluginId);
@ -159,12 +160,12 @@ export default class PluginRunner extends BasePluginRunner {
this.recordCallStat(plugin.id);
try {
await this.backOffHandler(plugin.id).wait(fullPath, debugMappedArgs);
} catch (error) {
logger.error(error);
return;
}
// try {
// await this.backOffHandler(plugin.id).wait(fullPath, debugMappedArgs);
// } catch (error) {
// logger.error(error);
// return;
// }
let result: any = null;
let error: any = null;