Daemon: Return promise for post_rate reduction
This was causing a race condition in some environments.master
parent
c92cab4044
commit
c4591f681d
|
@ -125,7 +125,7 @@ module.exports = AbstractClass( 'Daemon',
|
|||
this._encService = this.getEncryptionService();
|
||||
this._memcache = this.getMemcacheClient();
|
||||
|
||||
post_rate.reduce(
|
||||
return post_rate.reduce(
|
||||
( accum, value, key ) =>
|
||||
{
|
||||
accum[ key ] = value;
|
||||
|
|
Loading…
Reference in New Issue