Avatar for the MystenLabs user
MystenLabs
walrus-sites
BlogDocsChangelog

feat: support a RedisBlocklistChecker and improve code structure

#371Merged
Comparing
alextzimas/sew-20-migrate-the-blocklist-from-vercel-edge-config-to-redis
(
badab17
) with
main
(
efb2744
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

decompress plaintext encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress plaintext encoding
CodSpeed Performance Gauge
0%
16.1 µs
16.1 µs
decompress gzip encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress gzip encoding
CodSpeed Performance Gauge
0%
253.6 µs
254.8 µs
decompress deflate encoding
portal/common/lib/decompress_data.bench.ts::decompressData::decompress deflate encoding
CodSpeed Performance Gauge
-1%
248 µs
249.4 µs

Commits

Click on a commit to change the comparison range
Base
main
efb2744
0%
Improve docstrings
926077e
17 days ago
by Tzal3x
0%
Deduce storage variant from environment variables
a534733
17 days ago
by Tzal3x
0%
Fix instanstiateBlocklistChecker
a2dc633
17 days ago
by Tzal3x
0%
Fix configuration_loader logic
dff8e4c
17 days ago
by Tzal3x
0%
refactor: use object literal mapping instead of switch This is better than a non-exhaustive switch statement. Plus it follows the Open/Closed Principle - extend by adding to map, not modifying code. The main tradeoff is that it's slightly more abstract than a switch statement. It becomes more valuable as we add more variants.
0c98cf7
16 days ago
by Tzal3x
0%
Use RedisClient.isReady instead of custom `connected` field
badab17
16 days ago
by Tzal3x
Home Terms PrivacyDocs