disable SECMEM for Taler exchange, it causes massive lock contention and then scalability issues

This commit is contained in:
Christian Grothoff 2018-08-11 05:54:10 +02:00
parent 6d6b223694
commit 17b9f39a86
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -60,7 +60,14 @@ TALER_project_data_default (void)
void __attribute__ ((constructor))
TALER_OS_init ()
{
gcry_error_t rc;
GNUNET_OS_init (&taler_pd);
if ((rc = gcry_control (GCRYCTL_DISABLE_SECMEM, 1)))
FPRINTF (stderr,
"Failed to set libgcrypt option %s: %s\n",
"DISABLE_SECMEM",
gcry_strerror (rc));
}