Fix for sharing of capabilities in 1.4 (problem introduced when push frequency was reduced)
This commit is contained in:
parent
4a9030b4a0
commit
75ebe5172f
3 changed files with 18 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue