commercetools / commercetools/commercetools-sync-java
[Hactoberfest] Limit the number of retries on concurrency modification exceptions
Đang mở
Hacktoberfest
- Ngôn ngữ chính
- Java
- Star
- 40
- Fork
- 41
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**Situation**
Currently on concurrency modification exceptions the sync retries with no limit until there is no error. See:
https://github.com/commercetools/commercetools-sync-java/blob/7cacc37ef8a1412f9bf300ba08000c108db81b4f/src/main/java/com/commercetools/sync/commons/BaseSync.java#L115-L124
**Complication**
It causes unnecessary api calls if the platform returns 409 - ConcurrentModificationException for the requests.
**Resolution**
Limit the number of retries on concurrency modification exceptions.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.