fix(geoip): проверить локальный кеш и ограничить загрузку баз
This commit is contained in:
1 parent
3c3d152c2d
commit
48cc65ec2b
16 files changed
+492
-31
No files matched your search
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"date": "2026-10-14",
|
||||
"block": "12.5.242",
|
||||
"passed": true,
|
||||
"scope": "Compiled GeoIP collector + owned PostgreSQL/files + actual public mirror; controlled negative bodies separately marked",
|
||||
"mirrorRequests": [
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 1112
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 1209
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 97
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 126
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 94
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 99
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 94
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 104
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 93
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 123
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-Country.mmdb",
|
||||
"conditional": false,
|
||||
"status": 200,
|
||||
"headersMs": 102
|
||||
},
|
||||
{
|
||||
"file": "GeoLite2-ASN.mmdb",
|
||||
"conditional": true,
|
||||
"status": 304,
|
||||
"headersMs": 90
|
||||
}
|
||||
],
|
||||
"checks": [
|
||||
{
|
||||
"name": "actual-two-downloads-valid-mmdb-and-lookup",
|
||||
"bytes": 12380575,
|
||||
"hashes": {
|
||||
"country": "635078e412c4443a2950c2e3f775ccdc400e0a1fea5ffd32e5489e5401a9e51d",
|
||||
"asn": "7d1cf6cd79a0f35b446570058efb7d05cb6db6dd10bbbc09c3699473f6860cba"
|
||||
},
|
||||
"settings": {
|
||||
"enabled": false,
|
||||
"updateIntervalSec": 604800,
|
||||
"lastCheckAt": "2026-10-14 07:59:58.997+00",
|
||||
"lastSuccessAt": "2026-10-14 07:59:58.997+00",
|
||||
"lastError": null,
|
||||
"countryBuildAt": "2026-10-09 16:52:08+00",
|
||||
"asnBuildAt": "2026-10-12 08:15:43+00",
|
||||
"updatedAt": "2026-10-14 08:00:02.048+00"
|
||||
},
|
||||
"lookup": {
|
||||
"country": "US",
|
||||
"asn": 15169
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "actual-conditional304-and-concurrent409",
|
||||
"skippedUnchanged": 2,
|
||||
"hashesUnchanged": true
|
||||
},
|
||||
{
|
||||
"name": "missing-country-refetched-without-conditional-header"
|
||||
},
|
||||
{
|
||||
"name": "corrupt-local-country-refetched-and-validated"
|
||||
},
|
||||
{
|
||||
"name": "controlled-invalid-body-preserves-file-and-last-success",
|
||||
"negativeCountryResponse": "controlled-200-invalid-MMDB",
|
||||
"realAsnStatus": 304
|
||||
},
|
||||
{
|
||||
"name": "controlled-uncached304-is-error-with-last-success-retained"
|
||||
},
|
||||
{
|
||||
"name": "actual-recovery-and-disabled-background-no-fetch"
|
||||
}
|
||||
],
|
||||
"chrContacts": 0,
|
||||
"mainDatabaseWrites": 0,
|
||||
"ownedDatabaseAndRoleRemoved": true
|
||||
}
|
||||
Reference in new issue
Block a user