79761896

Date: 2025-09-11 12:16:19
Score: 0.5
Natty:
Report link

The scan failed with a timeout on production due to the large amount of data.

Flux<String> ids = this.reactiveRedisTemplate.scan(ScanOptions.scanOptions()                     .match("EGA_ITEM_*")
.build());

Replaced with the following

Flux<String> ids = this.reactiveRedisTemplate.keys("EGA_ITEM_*");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rahim Khan Abdul