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

[Feature] Save server by interval time #13

Merged
merged 24 commits into from
Oct 29, 2021

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Aug 25, 2021

Added a feature that can be activated in config.lua, so you can save the server from time to time according to the interval you choose automatically.

Set to "true" for enable feature and "false" for disable
Save interval time is configured in hours, in the example below we will have a save every 1 hour

-- Save interval per time
-- NOTE: togleSaveInterval: true = enable the save interval, false = disable the save interval
-- NOTE: saveIntervalType: "minute", "second" or "hour"
-- NOTE: togleSaveIntervalCleanMap: true = enable the clean map, false = disable the clean map
-- NOTE: saveIntervalTime: time based on what was set in "saveIntervalType"

togleSaveInterval = true
saveIntervalType = "hour"
togleSaveIntervalCleanMap = true
saveIntervalTime = 1

Copy link
Collaborator Author

@beats-dh beats-dh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@opentibiabr opentibiabr deleted a comment from sonarcloud bot Oct 28, 2021
@dudantas dudantas changed the title Add save interval time [Feature] Save server by interval time Oct 28, 2021
@sonarcloud
Copy link

sonarcloud bot commented Oct 28, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas merged commit 36f2af9 into opentibiabr:master Oct 29, 2021
@beats-dh beats-dh deleted the save-interval-time branch November 6, 2021 20:29
@QuebradaZN QuebradaZN mentioned this pull request Dec 27, 2022
10 tasks
luan pushed a commit that referenced this pull request Jul 11, 2023
Added a feature that can be activated in config.lua, so you can save the server from time to time according to the interval you choose automatically.

Set to "true" for enable feature and "false" for disable
Save interval time is configured in hours, in the example below we will have a save every 1 hour

-- Save interval per time
-- NOTE: togleSaveInterval: true = enable the save interval, false = disable the save interval
-- NOTE: saveIntervalType: "minute", "second" or "hour"
-- NOTE: togleSaveIntervalCleanMap: true = enable the clean map, false = disable the clean map
-- NOTE: saveIntervalTime: time based on what was set in "saveIntervalType"

togleSaveInterval = true
saveIntervalType = "hour"
togleSaveIntervalCleanMap = true
saveIntervalTime = 1
Jonyrewind added a commit to Jonyrewind/canary that referenced this pull request Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants