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

GRIDBOT-7: Incorrect expiration dates on screenshot utility #20

Merged

Conversation

nikita-petko
Copy link
Contributor

There is currently an issue that doesn't break anything, but is quite annoying; when executing a view-console on a grid server, the "time to expire" is incorrect, and behind the current time even.

Example:
image
[Message sent at 17:24, instance created at 17:24, default lease is 15 minutes]

There is a possible reasoning behind this being the following:
image
The RenewLease() method is called inside GridServerInstance.Unlock(), which is called after code is executed. 
This part here is possibly assigning the _expiration field to an incorrect value giving us the massively offset values.

On the branch fix/incorrect-instance-expiration-screenshot-utility, {{}} we are going to work on a fix by removing this section to determine if it is actually this part that is causing it.

@nikita-petko nikita-petko merged commit 3c39143 into master Feb 12, 2022
@nikita-petko nikita-petko deleted the fix/incorrect-instance-expiration-screenshot-utility branch February 12, 2022 17:51
@nikita-petko nikita-petko restored the fix/incorrect-instance-expiration-screenshot-utility branch February 12, 2022 17:51
@nikita-petko nikita-petko added this to the GRIDBOT-7 milestone Mar 6, 2022
@nikita-petko nikita-petko self-assigned this Mar 6, 2022
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

1 participant