mirror of
https://github.com/telemt/telemt.git
synced 2026-05-01 01:14:11 +03:00
ME Reinit Core advancing + Binding Policy Core
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -681,7 +681,10 @@ impl MePool {
|
||||
MeBindStaleMode::Never => false,
|
||||
MeBindStaleMode::Always => true,
|
||||
MeBindStaleMode::Ttl => {
|
||||
let ttl_secs = self.me_bind_stale_ttl_secs.load(Ordering::Relaxed);
|
||||
let ttl_secs = self
|
||||
.binding_policy
|
||||
.me_bind_stale_ttl_secs
|
||||
.load(Ordering::Relaxed);
|
||||
if ttl_secs == 0 {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user