From f4e7d9505eb24e253b49e84ccfaad4fb2b66acd9 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Mon, 6 Apr 2020 13:33:45 +0200 Subject: [PATCH] Remove default value for user_id of writing process Does not really make sense since the value is hard-coded anyway and will not change in different deployments. --- core-writer/include/config.hpp | 2 -- core-writer/src/config.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/core-writer/include/config.hpp b/core-writer/include/config.hpp index a292dad..f534373 100644 --- a/core-writer/include/config.hpp +++ b/core-writer/include/config.hpp @@ -19,8 +19,6 @@ namespace config extern std::string raw_image_dataset_name; extern uint32_t parameters_read_retry_interval; - - extern int default_writing_user_id; } #endif \ No newline at end of file diff --git a/core-writer/src/config.cpp b/core-writer/src/config.cpp index 2a87ebf..d2cd80b 100644 --- a/core-writer/src/config.cpp +++ b/core-writer/src/config.cpp @@ -22,7 +22,4 @@ namespace config { hsize_t dataset_increase_step = 1000; // To which value to initialize a dataset size. hsize_t initial_dataset_size = 1000; - - // -1 means to stay with the same user_id. - int default_writing_user_id = -1; }