From: Jeroen van der Heijden Date: Tue, 30 Mar 2021 19:57:34 +0000 (+0200) Subject: Added ignore broken data option as environment variable option X-Git-Tag: archive/raspbian/2.0.44-1+rpi1^2~3^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd86829958ab7d86a5d45c2bc6d81ae716f56aa2;p=siridb-server.git Added ignore broken data option as environment variable option --- diff --git a/include/siri/version.h b/include/siri/version.h index 820637f8..f54e5302 100644 --- a/include/siri/version.h +++ b/include/siri/version.h @@ -15,7 +15,7 @@ * Note that debian alpha packages should use versions like this: * 2.0.34-0alpha0 */ -#define SIRIDB_VERSION_PRE_RELEASE "-alpha-2" +#define SIRIDB_VERSION_PRE_RELEASE "-alpha-3" #ifndef NDEBUG #define SIRIDB_VERSION_BUILD_RELEASE "+debug" diff --git a/itest/requirements.txt b/itest/requirements.txt index 257ab1ca..fb2fc0c2 100644 --- a/itest/requirements.txt +++ b/itest/requirements.txt @@ -1,4 +1,4 @@ -siridb-connector==2.0.5 +siridb-connector psutil requests pyleri diff --git a/src/siri/evars.c b/src/siri/evars.c index c3c37ba5..538a75b2 100644 --- a/src/siri/evars.c +++ b/src/siri/evars.c @@ -143,6 +143,9 @@ void siri_evars_parse(siri_t * siri) evars__bool( "SIRIDB_ENABLE_SHARD_AUTO_DURATION", &siri->cfg->shard_auto_duration); + evars__bool( + "SIRIDB_IGNORE_BROKEN_DATA", + &siri->cfg->ignore_broken_data); evars__to_strn( "SIRIDB_DB_PATH", siri->cfg->db_path,