@openinc/parse-server-opendash 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,6 @@ exports.initServiceSchedulesFeature = initServiceSchedulesFeature;
|
|
|
7
7
|
exports.stopServiceSchedulesFeature = stopServiceSchedulesFeature;
|
|
8
8
|
const node_1 = __importDefault(require("parse/node"));
|
|
9
9
|
const index_js_1 = require("../../../types/index.js");
|
|
10
|
-
const ServiceCalendarSyncPoller_js_1 = require("./calendarSync/ServiceCalendarSyncPoller.js");
|
|
11
10
|
const ServiceSyncTypes_js_1 = require("./calendarSync/ServiceSyncTypes.js");
|
|
12
11
|
/** How often the delta feed is asked for changes. */
|
|
13
12
|
const POLL_INTERVAL_MS = 60 * 1000;
|
|
@@ -24,9 +23,9 @@ async function initServiceSchedulesFeature() {
|
|
|
24
23
|
.equalTo("key", ServiceSyncTypes_js_1.OUTLOOK_CONFIG_KEY)
|
|
25
24
|
.includeAll()
|
|
26
25
|
.findAll({ useMasterKey: true });
|
|
27
|
-
for (const config of configs) {
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
// for (const config of configs) {
|
|
27
|
+
// pollers.push(new ServiceCalendarSyncPoller(config).start(POLL_INTERVAL_MS));
|
|
28
|
+
// }
|
|
30
29
|
if (pollers.length > 0) {
|
|
31
30
|
console.log(`[ServiceCalendarSync] Started for ${pollers.length} calendar connection(s)`);
|
|
32
31
|
}
|