Way too much happened for me to create a commit message
This commit is contained in:
@@ -27,13 +27,13 @@ public class DbHandler
|
||||
|
||||
private const string InsertIntoFiltered = "PRAGMA synchronous = OFF; PRAGMA temp_store = MEMORY;" +
|
||||
" PRAGMA journal_mode = MEMORY; PRAGMA foreign_keys = on;" +
|
||||
" INSERT INTO Filtered (Ip1, Ip2, Ip3, Ip4, Port1, Port2, Title1, Title2," +
|
||||
" Description1, Description2, Url1, Url2, ServerType1, ServerType2," +
|
||||
" INSERT INTO Filtered (Ip1, Ip2, Ip3, Ip4, Port1, Port2," +
|
||||
" Url1, Url2, ServerType1, ServerType2," +
|
||||
" RobotsTXT1, RobotsTXT2, HttpVersion1, HttpVersion2, CertificateIssuerCountry," +
|
||||
" CertificateOrganizationName, IpV6, TlsVersion, CipherSuite, KeyExchangeAlgorithm," +
|
||||
" PublicKeyType1, PublicKeyType2, PublicKeyType3, AcceptEncoding1, AcceptEncoding2," +
|
||||
" ALPN, Connection1, Connection2) VALUES (@ip1, @ip2, @ip3, @ip4, @port1, @port2, " +
|
||||
" @title1, @title2, @description1, @description2, @url1, @url2, " +
|
||||
" @url1, @url2, " +
|
||||
" (SELECT ServerId FROM ServerType WHERE Type = @serverType1), " +
|
||||
" (SELECT ServerId FROM ServerType WHERE Type = @serverType2), " +
|
||||
" @robotsTXT1, @robotsTXT2," +
|
||||
@@ -256,7 +256,7 @@ public class DbHandler
|
||||
continue;
|
||||
}
|
||||
|
||||
if (i >= 50_000_000 && !_compressing)
|
||||
if (i >= 500_000 && !_compressing)
|
||||
{
|
||||
_compressing = true;
|
||||
|
||||
@@ -427,10 +427,6 @@ public class DbHandler
|
||||
command.Parameters.AddWithValue("@port2", filtered.Port2);
|
||||
command.Parameters.AddWithValue("@url1", filtered.Url1);
|
||||
command.Parameters.AddWithValue("@url2", filtered.Url2);
|
||||
command.Parameters.AddWithValue("@title1", filtered.Title1);
|
||||
command.Parameters.AddWithValue("@title2", filtered.Title2);
|
||||
command.Parameters.AddWithValue("@description1", filtered.Description1);
|
||||
command.Parameters.AddWithValue("@description2", filtered.Description2);
|
||||
command.Parameters.AddWithValue("@serverType1", filtered.ServerType1);
|
||||
command.Parameters.AddWithValue("@serverType2", filtered.ServerType2);
|
||||
command.Parameters.AddWithValue("@robotsTXT1", filtered.RobotsTXT1);
|
||||
|
||||
Reference in New Issue
Block a user