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

Base Backend Clone Honeypot Shutdown Thread Sleep Improvement #52

Open
utkuonursahin opened this issue Aug 18, 2023 · 0 comments
Open
Labels
invalid This doesn't seem right needed We need it but not urgent. Take your time to complete it. todo No one is responsible for this.

Comments

@utkuonursahin
Copy link
Owner

utkuonursahin commented Aug 18, 2023

Right now our base backend sleeps 100ms after it shutdowns the running clone honeypot jar. This is necessary because we should generate a jar and for this the application should be completely closed. Our assumptions shows that Java works faster than OS and it executes the generating jar command before the application shutdown. To prevent this we sleep the thread 100ms so that it executes the generating jar command safely. However this is not ideal. We should find another good way to accomplish this.

@utkuonursahin utkuonursahin added invalid This doesn't seem right needed We need it but not urgent. Take your time to complete it. todo No one is responsible for this. labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right needed We need it but not urgent. Take your time to complete it. todo No one is responsible for this.
Projects
None yet
Development

No branches or pull requests

1 participant