Changes the Realm DB save time from multiple times per second to once every 15 seconds, and the same is true for the server sync. I have been unable to reproduce the offline crash yet on this branch, but I'll leave this a draft until I can test it more thoroughly. Hopefully fixes#471 though!
If the user enables low power mode, the server sync interval will be changed to 60 seconds from 15. Hopefully helps withFixes#476.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/advplyr/audiobookshelf-app/pull/519
**Author:** [@benonymity](https://github.com/benonymity)
**Created:** 1/24/2023
**Status:** ✅ Merged
**Merged:** 1/29/2023
**Merged by:** [@advplyr](https://github.com/advplyr)
**Base:** `master` ← **Head:** `playerUpdates`
---
### 📝 Commits (4)
- [`20085c5`](https://github.com/advplyr/audiobookshelf-app/commit/20085c5eed8386aac10f12c6ee600ac0f723ce0a) update: increase update intervals
- [`bca5421`](https://github.com/advplyr/audiobookshelf-app/commit/bca5421dbc436b346e77b63a6605c73e3d06f873) update: higher sync interval on low power mode
- [`21bd98b`](https://github.com/advplyr/audiobookshelf-app/commit/21bd98b36727b8b49e9f92309c00098e5fe331d6) Merge branch 'advplyr:master' into playerUpdates
- [`31abaa0`](https://github.com/advplyr/audiobookshelf-app/commit/31abaa019ffeb1ef9e65402632400905e49b913f) Merge branch 'advplyr:master' into playerUpdates
### 📊 Changes
**4 files changed** (+43 additions, -12 deletions)
<details>
<summary>View changed files</summary>
📝 `ios/App/Podfile` (+1 -1)
📝 `ios/App/Shared/player/AudioPlayer.swift` (+20 -10)
📝 `ios/App/Shared/player/PlayerProgress.swift` (+6 -1)
📝 `ios/App/Shared/util/ApiClient.swift` (+16 -0)
</details>
### 📄 Description
Changes the Realm DB save time from multiple times per second to once every 15 seconds, and the same is true for the server sync. I have been unable to reproduce the offline crash yet on this branch, but I'll leave this a draft until I can test it more thoroughly. Hopefully ~~fixes~~ #471 though!
If the user enables low power mode, the server sync interval will be changed to 60 seconds from 15. ~~Hopefully helps with~~ Fixes #476.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/advplyr/audiobookshelf-app/pull/519
Author: @benonymity
Created: 1/24/2023
Status: ✅ Merged
Merged: 1/29/2023
Merged by: @advplyr
Base:
master← Head:playerUpdates📝 Commits (4)
20085c5update: increase update intervalsbca5421update: higher sync interval on low power mode21bd98bMerge branch 'advplyr:master' into playerUpdates31abaa0Merge branch 'advplyr:master' into playerUpdates📊 Changes
4 files changed (+43 additions, -12 deletions)
View changed files
📝
ios/App/Podfile(+1 -1)📝
ios/App/Shared/player/AudioPlayer.swift(+20 -10)📝
ios/App/Shared/player/PlayerProgress.swift(+6 -1)📝
ios/App/Shared/util/ApiClient.swift(+16 -0)📄 Description
Changes the Realm DB save time from multiple times per second to once every 15 seconds, and the same is true for the server sync. I have been unable to reproduce the offline crash yet on this branch, but I'll leave this a draft until I can test it more thoroughly. Hopefully
fixes#471 though!If the user enables low power mode, the server sync interval will be changed to 60 seconds from 15.
Hopefully helps withFixes #476.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.