autorepl.py limited to 20 tasks

reco

Cadet
Joined
Feb 8, 2020
Messages
3
looks like the new api has a limit of 20 results. since autorepl.py is using the api it would only run 20 replication tasks.
is there a configuration somewhere to allow more than 20 replications tasks?
thanks
 

reco

Cadet
Joined
Feb 8, 2020
Messages
3
i added a limit of 100 to the api call

/usr/local/www/freenasUI/tools/replication_adapter.py
Code:
...
    r = requests.get(f"{url}/api/v1.0/{path}/?limit=100",
                     headers={"Authorization": f"Token {token}"}, verify=False)
...
 
Top