Commit ed9c7ca
add peekCurrentJournalPosition() endpoint for sapling
Summary:
This is like getCurrentJournalPosition, except it does not count as "observing" the current journal position for journal subscription purposes (i.e. does not unblock sending new notifications).
Switch Sapling to use it for "sl debugwait" to ensure that Sapling is not increasing journal notification noise by constantly observing the journal position. If the server doesn't support it, we fall back to getCurrentJournalPosition.
Reviewed By: MichaelCuevas
Differential Revision: D95292274
fbshipit-source-id: 9b2685206416f1d33a693516f1c93b3572977d111 parent 2ffd0db commit ed9c7ca
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2041 | 2041 | | |
2042 | 2042 | | |
2043 | 2043 | | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
2044 | 2052 | | |
2045 | 2053 | | |
2046 | 2054 | | |
| |||
2448 | 2456 | | |
2449 | 2457 | | |
2450 | 2458 | | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
| 2466 | + | |
2451 | 2467 | | |
2452 | 2468 | | |
2453 | 2469 | | |
| |||
0 commit comments