mirror of
https://github.com/Impulse87/ATLAS-RawTravelDataCleaner.git
synced 2024-08-30 17:32:14 +00:00
added license doc
This commit is contained in:
parent
a188c2f1da
commit
695d807205
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019 Impulse
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
29
README.md
29
README.md
@ -1,6 +1,8 @@
|
||||
# Why is this tool required?
|
||||
Since the game ATLAS does clutter its redis DB with RawTravelData entries, it can happen that it grows to several GB of size. This results in no longer working grid travel. It seems that the vanilla game does not give its redis entries an expiration time, with which the redis DB could cleanup itself. That's why this tool will simply add an expiration time to all RawTravelData entries.
|
||||
|
||||
This tool was created to work in tandem with the [Admin Helper Tool](https://steamcommunity.com/sharedfiles/filedetails/?id=1656345839) mod.
|
||||
|
||||
# Warning!
|
||||
Please make backups of all your savegame files and redis DB before you use this tool!
|
||||
|
||||
@ -21,3 +23,30 @@ Please make backups of all your savegame files and redis DB before you use this
|
||||
|
||||
## Execution
|
||||
8. As soon as Node did install required submodules and you put in your correct password, ip and port, you'll be able to start the cleaner tool with "npm start", like so: http://prntscr.com/moaz2k
|
||||
|
||||
## Sponsor
|
||||
You want your own **ATLAS** game server? Use the links below to save **5%** of the original price!
|
||||
[![alt text](https://i.imgur.com/DRVs8uv.png "G-Protal Europe")](https://www.g-portal.com/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
|
||||
**5% G-Portal discount for Europe and Northern Asia:**
|
||||
|
||||
[![alt text](https://i.imgur.com/vfZwTbH.jpg "Europe")](https://www.g-portal.com/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
[![alt text](https://i.imgur.com/j8v42Iz.jpg "London")](https://www.g-portal.com/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
[![alt text](https://i.imgur.com/DjpDxkt.jpg "Moscow")](https://www.g-portal.com/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
|
||||
|
||||
**5% G-Portal discount for USA and Others:**
|
||||
|
||||
[![alt text](https://i.imgur.com/wtbIBmY.jpg "USA")](https://www.g-portal.us/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
[![alt text](https://i.imgur.com/M9gsqu7.jpg "China")](https://www.g-portal.us/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
[![alt text](https://i.imgur.com/bU8tZey.jpg "UN (Others)")](https://www.g-portal.us/en/gameserver/atlas-server-hosting?ref=Impulse)
|
||||
|
||||
|
||||
## Donation/Support
|
||||
If you like my work and want to support further development or just to spend me a coffee please
|
||||
|
||||
[![alt text](https://i.imgur.com/Y0XkUcd.png "Paypal $")](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S3WQNNSVY8VAL)
|
||||
|
||||
[![alt text](https://i.imgur.com/xezX26q.png "Paypal €")](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VQRPA46YADD9J)
|
||||
|
||||
[![alt text](https://i.imgur.com/nLOjZGb.png "Become a Patreon")](https://www.patreon.com/user?u=5515247)
|
||||
|
2
index.js
2
index.js
@ -6,7 +6,7 @@
|
||||
const { promisify } = require('util');
|
||||
const redis = require("redis");
|
||||
|
||||
const intervalTimer = 600 * 1000 // 10 minutes
|
||||
const intervalTimer = 10 * 60 * 1000; // 10 minutes
|
||||
const expirationTime = 1800; // in seconds -> 1800 = 30 minutes
|
||||
// if a key expires, the next 5 min fork cycle of the redis db will clear it from your harddrive
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user