killbill / killbill-analytics-plugin

Kill Bill plugin for financial reporting
https://killbill.io
Apache License 2.0
11 stars 32 forks source link

locker: make timeout and retries configurable #124

Closed pierre closed 3 years ago

pierre commented 3 years ago

If refresh for a very large account takes 2 minutes for instance, and you don't want to increase refreshDelaySeconds which would penalize small accounts, you can now increase the lock timeout delay.

Globally (killbill.properties):

org.killbill.analytics.lockSleepMilliSeconds=1000

Per tenant:

lockAttemptRetries: 150
pierre commented 3 years ago

I've added an option to trigger full refreshes each time.