mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
change variable name according to name in config
This commit is contained in:
parent
f0cbed81f3
commit
102fc586e9
@ -57,7 +57,7 @@ namespace ServerConfig {
|
||||
int g_FakeLoginSleepTime = 820;
|
||||
std::string g_versionString = "";
|
||||
bool g_disableEmail = false;
|
||||
bool g_resendTransactionOnStart = false;
|
||||
bool g_resendUnfinishedTransactionOnStart = false;
|
||||
ServerSetupType g_ServerSetupType = SERVER_TYPE_PRODUCTION;
|
||||
std::string g_devDefaultGroup = "";
|
||||
std::string g_gRPCRelayServerFullURL;
|
||||
@ -260,7 +260,7 @@ namespace ServerConfig {
|
||||
g_AllowUnsecureFlags = (AllowUnsecure)(g_AllowUnsecureFlags | UNSECURE_ALLOW_ALL_PASSWORDS);
|
||||
}
|
||||
|
||||
g_resendTransactionOnStart = cfg.getBool("dev.resend_unfinished_transactions_on_start", false);
|
||||
g_resendUnfinishedTransactionOnStart = cfg.getBool("dev.resend_unfinished_transactions_on_start", false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -73,7 +73,7 @@ namespace ServerConfig {
|
||||
extern int g_FakeLoginSleepTime;
|
||||
extern std::string g_versionString;
|
||||
extern bool g_disableEmail;
|
||||
extern bool g_resendTransactionOnStart;
|
||||
extern bool g_resendUnfinishedTransactionOnStart;
|
||||
extern ServerSetupType g_ServerSetupType;
|
||||
extern std::string g_devDefaultGroup;
|
||||
extern std::string g_gRPCRelayServerFullURL;
|
||||
|
||||
@ -204,7 +204,7 @@ namespace model {
|
||||
}
|
||||
}
|
||||
// try not finished but signed transactions again
|
||||
if (!finished && ServerConfig::g_resendTransactionOnStart) {
|
||||
if (!finished && ServerConfig::g_resendUnfinishedTransactionOnStart) {
|
||||
transaction->ifEnoughSignsProceed(nullptr);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user