mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-21 22:13:57 +00:00
refactor: remove legacy scheduling and analytics code
- Deleted the scheduler module and its associated functions, transitioning to OS-level scheduling. - Removed the Analytics module and its related interfaces, retaining only a placeholder for backward compatibility. - Updated ConfigValidator to warn about legacy schedule and analytics configurations. - Cleaned up StartupValidator to remove diagnostics and schedule validation logic. - Adjusted Load.ts to handle legacy flags for diagnostics and analytics. - Removed unused diagnostics capturing functionality.
This commit is contained in:
@@ -23,14 +23,6 @@
|
||||
"clusters": 1,
|
||||
"passesPerRun": 1
|
||||
},
|
||||
"schedule": {
|
||||
"enabled": false,
|
||||
"useAmPm": false,
|
||||
"time12": "9:00 AM",
|
||||
"time24": "09:00",
|
||||
"timeZone": "Europe/Paris",
|
||||
"runImmediatelyOnStart": true
|
||||
},
|
||||
"jobState": {
|
||||
"enabled": true,
|
||||
"dir": ""
|
||||
@@ -126,7 +118,7 @@
|
||||
"authToken": ""
|
||||
},
|
||||
|
||||
// Logging & diagnostics
|
||||
// Logging
|
||||
"logging": {
|
||||
"excludeFunc": [
|
||||
"SEARCH-CLOSE-TABS",
|
||||
@@ -140,19 +132,6 @@
|
||||
],
|
||||
"redactEmails": true
|
||||
},
|
||||
"diagnostics": {
|
||||
"enabled": true,
|
||||
"saveScreenshot": true,
|
||||
"saveHtml": true,
|
||||
"maxPerRun": 2,
|
||||
"retentionDays": 7
|
||||
},
|
||||
"analytics": {
|
||||
"enabled": true,
|
||||
"retentionDays": 30,
|
||||
"exportMarkdown": true,
|
||||
"webhookSummary": true
|
||||
},
|
||||
|
||||
// Buy mode
|
||||
"buyMode": {
|
||||
|
||||
Reference in New Issue
Block a user