Fix for sharing of capabilities in 1.4 (problem introduced when push frequency was reduced)

This commit is contained in:
Adam Ierymenko 2019-08-02 20:43:02 -07:00
parent 4a9030b4a0
commit 75ebe5172f
3 changed files with 18 additions and 12 deletions

View file

@ -365,7 +365,7 @@ public:
inline void pushCredentialsNow(void *tPtr,const Address &to,const int64_t now)
{
Mutex::Lock _l(_lock);
_membership(to).pushCredentials(RR,tPtr,now,to,_config,-1);
_membership(to).pushCredentials(RR,tPtr,now,to,_config);
}
/**
@ -380,7 +380,7 @@ public:
Mutex::Lock _l(_lock);
Membership &m = _membership(to);
if (m.shouldPushCredentials(now))
m.pushCredentials(RR,tPtr,now,to,_config,-1);
m.pushCredentials(RR,tPtr,now,to,_config);
}
/**