Run billing 3 at a time
All at once kills the box
Merge branch 'bill-via-sgx-jmp'
* bill-via-sgx-jmp:
Billing monthly cronjob using sgx-jmp
Billing monthly cronjob using sgx-jmp
Just get the list of expired customers and tell sgx-jmp about each of them, wait
until all return or one errors and log result.
Merge branch 'settled-after'
* settled-after:
Bills and BTC are settled immediately
Bills and BTC are settled immediately
Merge branch 'do-not-bill-unregistered'
* do-not-bill-unregistered:
Query sgx-jmp for every expired user
Show backtrace and bail out hard on panic
Merge branch 'rubocop'
* rubocop:
Update rubocop
Query sgx-jmp for every expired user
If they have no assigned tel, do not bill them or notify them.
Update rubocop
And use settings from sgx-jmp
Remove healthchecks integration
We use runitor in prod now
If expired with auto top up, NOTIFY for a week before sending expiry notice
Include BTC addresses in notification, if there are any
If a user has no balance, then their balance is 0
Only notify expired users once a week
Fix Dhall signature
The config got updated, but the signature was missed.