feat: add msg/event rate limit to settings

This commit is contained in:
Ricardo Arturo Cabral Mejía
2022-11-14 23:05:19 -05:00
parent 59c6f806cb
commit a46fcc64ce
3 changed files with 69 additions and 0 deletions

View File

@@ -79,6 +79,15 @@ describe('SettingsStatic', () => {
maxFilters: 10,
},
},
message: {
dailyRate: 86400,
hourlyRate: 3600,
minutelyRate: 240,
ipWhitelist: [
'::1',
'::ffff:10.10.10.1',
],
},
})
})
})