Commit d67f3b2
committed
Discovered an issue where the local Simperium client was re-sending
changes that had already been accepted by the server. This was caused
by not recognizing the duplicate-change error and also by not
acknowledging that a queued change had come back from the server in
a change list.
In this patch we're adding the duplicate-change handler to remove
a change from the app's queue when the server tells us that it has
already been applied.
After this change we should see a reduction in duplicate-change load.
1 parent 671b3df commit d67f3b2
File tree
3 files changed
+71
-19
lines changed- src/simperium
- test/simperium
3 files changed
+71
-19
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| 243 | + | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
419 | 438 | | |
420 | 439 | | |
421 | 440 | | |
| |||
0 commit comments