Rate limit exclusion for nostr.wine.
This commit is contained in:
parent
b7a422eebc
commit
b315173cde
@ -29,7 +29,9 @@ const rateLimitPolicy: Policy<RateLimit> = async (msg, opts = {}) => {
|
|||||||
const {
|
const {
|
||||||
interval = 60000,
|
interval = 60000,
|
||||||
max = 10,
|
max = 10,
|
||||||
whitelist = [],
|
whitelist = [
|
||||||
|
"51.81.244.81", // nostr.wine broadcast
|
||||||
|
],
|
||||||
databaseUrl = 'sqlite:///tmp/strfry-rate-limit-policy.sqlite3',
|
databaseUrl = 'sqlite:///tmp/strfry-rate-limit-policy.sqlite3',
|
||||||
} = opts;
|
} = opts;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user