|
@@ -548,6 +548,7 @@ export default class {
|
|
|
logger.warn(`nobody subscribes thread ${currentFeed}, removing from feed`);
|
|
|
delete lock.threads[currentFeed];
|
|
|
(this.cache[parseLink(currentFeed).userName] || {} as {pullOrder: number}).pullOrder = 0;
|
|
|
+ fs.writeFileSync(path.resolve(this.cachefile), JSON.stringify(this.cache));
|
|
|
lock.feed.splice(lock.workon, 1);
|
|
|
fs.writeFileSync(path.resolve(this.lockfile), JSON.stringify(lock));
|
|
|
this.work();
|