Skip to content

Fix fetch_all_by_outward_search

Created by: AsierGonzalez


Fixed fetch_all_by_outward_search() to expand the search window in increments of the RANGE value. IN the current implementation the search range is increased exponentially instead of linearly. This has now been fixed by storing the initial RANGE value.

Use case

Currently, calling this function with RANGE=10,000 and MAX_RANGE=500,000 will do the search in the following ranges: 10000, 20000, 60000, 240000 and 1200000. This pull request changes this behaviour to search in ranges from 10000 to 50000 in increments of 10000.

Edited by Stefano Giorgetti

Merge request reports