removed bool update in sourcemod and added threads to flask
This commit is contained in:
parent
c63aeb605c
commit
d52a19f3d0
@ -35,4 +35,4 @@ def get_answer():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from waitress import serve
|
from waitress import serve
|
||||||
serve(app, host="localhost", port=5085)
|
serve(app, host="localhost", port=5085, threads = 8)
|
||||||
|
@ -104,10 +104,6 @@ public void SQL_UpdateEntry(Database db, DBResultSet results, const char[] error
|
|||||||
g_dDatabase.Query(SQL_FindFingerPrints, sQuery, client, DBPrio_High);
|
g_dDatabase.Query(SQL_FindFingerPrints, sQuery, client, DBPrio_High);
|
||||||
}
|
}
|
||||||
delete results;
|
delete results;
|
||||||
if (IsValidClient(client))
|
|
||||||
{
|
|
||||||
g_bReportedClientBanAvoiding[client] = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SQL_FindFingerPrints(Database db, DBResultSet results, const char[] error, int client)
|
public void SQL_FindFingerPrints(Database db, DBResultSet results, const char[] error, int client)
|
||||||
|
Loading…
Reference in New Issue
Block a user