run exchange with a single thread to avoid DB conflicts

This commit is contained in:
Florian Dold 2020-08-18 19:38:17 +05:30
parent e2f7bc79cd
commit 90adead540
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -885,7 +885,7 @@ export class ExchangeService implements ExchangeServiceInterface {
this.exchangeHttpProc = this.globalState.spawnService( this.exchangeHttpProc = this.globalState.spawnService(
"taler-exchange-httpd", "taler-exchange-httpd",
["-c", this.configFilename], ["-c", this.configFilename, "--num-threads", "1"],
`exchange-httpd-${this.name}`, `exchange-httpd-${this.name}`,
); );
} }