mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:25:18 +00:00
UI: Set max count of ip's per app to log.
This commit is contained in:
parent
9e32f39fb1
commit
d79c80af10
@ -65,6 +65,9 @@ BasePage {
|
||||
var ipTextsArray = appPathIpArray[path];
|
||||
if (!ipCount) {
|
||||
ipTextsArray.push(ipText);
|
||||
} else if (ipTextsArray.length > 64) {
|
||||
var oldIp = ipTextsArray.shift();
|
||||
delete ipTextsMap[oldIp];
|
||||
}
|
||||
|
||||
// Host name
|
||||
|
Loading…
Reference in New Issue
Block a user