make lease duration config reader respect lease crawler config
This means you can make estimates about storage-time remaining based on the results of the calculator endpoint and they'll at least match your local configuration. also, move the function to the config module.
Showing
- src/_zkapauthorizer/config.py 34 additions, 0 deletionssrc/_zkapauthorizer/config.py
- src/_zkapauthorizer/resource.py 1 addition, 1 deletionsrc/_zkapauthorizer/resource.py
- src/_zkapauthorizer/storage_common.py 0 additions, 11 deletionssrc/_zkapauthorizer/storage_common.py
- src/_zkapauthorizer/tests/test_client_resource.py 1 addition, 1 deletionsrc/_zkapauthorizer/tests/test_client_resource.py
Loading
Please register or sign in to comment