Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

may be a bug that ttl not handle in pending list #897

Open
rwayan opened this issue Jun 19, 2023 · 1 comment
Open

may be a bug that ttl not handle in pending list #897

rwayan opened this issue Jun 19, 2023 · 1 comment

Comments

@rwayan
Copy link

rwayan commented Jun 19, 2023

ttl = float(kvmsg.get(b'ttl', 0))
if ttl:
kvmsg[b'ttl'] = b'%f' % (time.time() + ttl)
kvmsg.store(self.kvmap)
logging.info("I: publishing update=%d", self.sequence)

ttl handle in master
when server in slave, ttl not handle directly store into kvmap

@sappo
Copy link
Member

sappo commented Jun 19, 2023

@rwayan yep.
Can you send a PR please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants