diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-17 17:21:14 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-17 17:46:07 +0200 |
commit | ad31c3832d08fa1aca7bb473141cd5265e6f670d (patch) | |
tree | e82220091b7cee1de96202dd9753bd71f5b7cd81 /src/main.c | |
parent | 32b9a53f577e960b7f6120342d67f2c98277f2c1 (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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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) |