mirror of
https://github.com/cryptosharks131/lndg.git
synced 2026-08-13 12:33:04 +02:00
replace last_db_inv_index var
This commit is contained in:
parent
1cccdb179a
commit
da10e14040
1 changed files with 1 additions and 0 deletions
1
jobs.py
1
jobs.py
|
|
@ -197,6 +197,7 @@ def update_invoices(stub):
|
|||
open_invoice.save()
|
||||
|
||||
# Bulk invoice sync
|
||||
last_db_inv_index = Invoices.objects.aggregate(Max('index'))['index__max'] or 0
|
||||
index_offset = last_db_inv_index
|
||||
page_size = 300
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue