Various improvements #3

Merged
amaury.joly merged 16 commits from various-improvements into master 2021-07-27 18:39:49 +02:00
Showing only changes of commit 4f6587e1f6 - Show all commits

View File

@ -1,16 +1,8 @@
import { ListenerRssAggregator } from "listener-rss-agregator";
<<<<<<< HEAD
type ListenerData = {
ChannelId: number;
};
=======
import { ListenerRSSInfos } from "listener-rss";
type ListenerData = {
ChannelId: number;
firstUpdate: boolean;
} & ListenerRSSInfos;
>>>>>>> origin/testing
let myManager: ListenerRssAggregator;
let listenersDataBinding = new Map<string, ListenerData>();
@ -34,11 +26,7 @@ async function register({
});
logger.warn("setting register");
<<<<<<< HEAD
fs.appendFileSync(path.join(basePath, "/storage.bd"), "");
=======
fs.appendFileSync(path.join(basePath, "/storage.bd"), ""); // append
>>>>>>> origin/testing
const configAggregator = await ListenerRssAggregator.instantiateAggregator(
path.join(basePath, "/storage.bd")