Commit 49c633c
Properly warn if auth token is rejected by the RT DB server
This aligns with Android implementation, which would warn when the token is rejected for more than 3 time.
https://cs.corp.google.com/piper///depot/google3/java/com/google/android/gmscore/dev/client/firebase-database-connection/src/com/google/firebase/database/connection/PersistentConnectionImpl.java?l=844
For desktop implementation, it would attempt to reconnect immediately. The retry windows should be implemented in b/123780315.
PiperOrigin-RevId: 2464335021 parent 311c8c2 commit 49c633c
File tree
2 files changed
+28
-2
lines changed- database/src/desktop/connection
2 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
926 | 929 | | |
927 | 930 | | |
928 | 931 | | |
| 932 | + | |
929 | 933 | | |
930 | 934 | | |
931 | 935 | | |
| |||
944 | 948 | | |
945 | 949 | | |
946 | 950 | | |
947 | | - | |
948 | | - | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
949 | 970 | | |
950 | 971 | | |
951 | 972 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
458 | 460 | | |
459 | 461 | | |
460 | 462 | | |
| |||
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
492 | 497 | | |
493 | 498 | | |
494 | 499 | | |
| |||
0 commit comments