increase limit of sql user and ip querries
This commit is contained in:
parent
c71fdf34cb
commit
19001d2d4d
|
@ -106,7 +106,7 @@ export async function getIPofIID(uuid) {
|
|||
|
||||
export async function getIdsToIps(ips) {
|
||||
const ipToIdMap = new Map();
|
||||
if (!ips.length || ips.length > 100) {
|
||||
if (!ips.length || ips.length > 300) {
|
||||
return ipToIdMap;
|
||||
}
|
||||
try {
|
||||
|
@ -126,7 +126,7 @@ export async function getIdsToIps(ips) {
|
|||
|
||||
export async function getInfoToIps(ips) {
|
||||
const ipToIdMap = new Map();
|
||||
if (!ips.length || ips.length > 100) {
|
||||
if (!ips.length || ips.length > 300) {
|
||||
return ipToIdMap;
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -183,7 +183,7 @@ export async function findIdByNameOrId(searchString) {
|
|||
|
||||
export async function getNamesToIds(ids) {
|
||||
const idToNameMap = new Map();
|
||||
if (!ids.length || ids.length > 100) {
|
||||
if (!ids.length || ids.length > 300) {
|
||||
return idToNameMap;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue
Block a user