Add retry mechanism in case of episodes list retrieve failure instead of just failing.
If it can't after a couple of retry (5 by default, can be changed on the command line) it will just ignore it and go to the next anime.
This commit is contained in:
1
src/interface/IConfig.d.ts
vendored
1
src/interface/IConfig.d.ts
vendored
@@ -20,4 +20,5 @@ interface IConfig {
|
||||
rebuildcrp?: boolean;
|
||||
batch?: string;
|
||||
verbose?: boolean;
|
||||
retry?: number;
|
||||
}
|
||||
|
||||
1
src/interface/IConfigTask.d.ts
vendored
1
src/interface/IConfigTask.d.ts
vendored
@@ -1,4 +1,5 @@
|
||||
interface IConfigTask {
|
||||
address: string;
|
||||
config: IConfigLine;
|
||||
retry: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user