Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA] Remove sleep timer code #4176

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

marcaaron
Copy link
Contributor

Details

When we originally added this code I believe we were not relying on Pusher's reconnection mechanism to fetch data when returning from sleep or closed laptop. The sleep timer existed to help bridge any gaps. It seems like Pusher is able to catch up and the sleep timer doesn't work reliably anyway so it's being removed.

If we experience future problems we can come up with a Pusher based solution.

Fixed Issues

$ #3892

Tests

  1. Log in on a device + desktop (use production API)
  2. Close laptop and wait ~10 seconds
  3. Send a message from device
  4. Open laptop
  5. Wait
  6. Verify that Pusher will reconnect and eventually the messages appear

QA Steps

No QA

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@marcaaron marcaaron requested a review from a team as a code owner July 22, 2021 17:29
@marcaaron marcaaron self-assigned this Jul 22, 2021
@MelvinBot MelvinBot requested review from tylerkaraszewski and removed request for a team July 22, 2021 17:29
@tylerkaraszewski tylerkaraszewski merged commit 3766555 into main Jul 22, 2021
@tylerkaraszewski tylerkaraszewski deleted the marcaaron-fixClockTimer branch July 22, 2021 18:16
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.79-5🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.80-2🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants