summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-17 17:21:14 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-09-17 17:46:07 +0200
commitad31c3832d08fa1aca7bb473141cd5265e6f670d (patch)
treee82220091b7cee1de96202dd9753bd71f5b7cd81 /src/main.c
parent32b9a53f577e960b7f6120342d67f2c98277f2c1 (diff)
rest: remove scheduler code
Put ogserver into diet, remove this feature, including pending command queue.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c
index b9fc3f4..0613cd1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,6 @@
#include "rest.h"
#include "client.h"
#include "json.h"
-#include "schedule.h"
#include "core.h"
#include "cfg.h"
#include <syslog.h>
@@ -97,13 +96,6 @@ int main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- if (og_dbi_schedule_get() < 0) {
- syslog(LOG_ERR, "Cannot connect to database\n");
- exit(EXIT_FAILURE);
- }
-
- og_schedule_next(og_loop);
-
syslog(LOG_INFO, "Waiting for connections\n");
while (1)