Throttle Olist sync requests
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 57s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 57s
This commit is contained in:
@@ -67,6 +67,8 @@ OLIST_SYNC_ENABLED=true
|
||||
|
||||
`OLIST_TOKEN_ENCRYPTION_KEY` must be stable between deploys because Graphs uses it to encrypt OAuth tokens stored in PostgreSQL. The initial sync is full; later scheduled runs are incremental and use the product update date. Manual JSON import remains available as a fallback.
|
||||
|
||||
Graphs waits at least 2.5 seconds between every Olist API request (24 requests/minute). This keeps capacity available for other Tiny/Olist integrations. `OLIST_SYNC_REQUEST_DELAY_MS` can increase that delay but cannot lower it below 2500.
|
||||
|
||||
### Cutting Workbook Import
|
||||
|
||||
Manual cutting/replenishment workbooks can be normalized into JSON before they
|
||||
|
||||
Reference in New Issue
Block a user