### 馃憻 Reproduction steps https://github.com/appwrite/sdk-for-android/blob/85fac9dedd90eefe8407382cdd9f54b436862703/library/src/main/java/io/appwrite/services/Realtime.kt#L116-L123 when call this job in multiple threads ,it may call createSocket twice times or more? ### 馃憤 Expected behavior when call this job in multiple threads ,it may call createSocket once. It will be ok by this code . ```kotlin private var subCallDepth = AtomicInteger(0) delay(DEBOUNCE_MILLIS) if (subCallDepth.compareAndSet(0,1)) { createSocket() } ``` ### 馃憥 Actual Behavior it may call createSocket twice times or more? ### 馃幉 Appwrite version Appwrite Cloud ### 馃捇 Operating system Linux ### 馃П Your Environment android ### 馃憖 Have you spent some time to check if this issue has been raised before? - [X] I checked and didn't find similar issue ### 馃彚 Have you read the Code of Conduct? - [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Activity