mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-06 04:22:51 +01:00
chore
This commit is contained in:
@@ -8,7 +8,7 @@ export const BACKGROUND_FETCH_TASK = "background-fetch";
|
|||||||
export async function registerBackgroundFetchAsync() {
|
export async function registerBackgroundFetchAsync() {
|
||||||
try {
|
try {
|
||||||
BackgroundFetch.registerTaskAsync(BACKGROUND_FETCH_TASK, {
|
BackgroundFetch.registerTaskAsync(BACKGROUND_FETCH_TASK, {
|
||||||
minimumInterval: 10 * 60, // 1 minutes
|
minimumInterval: 10 * 60, // 10 minutes
|
||||||
stopOnTerminate: false, // android only,
|
stopOnTerminate: false, // android only,
|
||||||
startOnBoot: false, // android only
|
startOnBoot: false, // android only
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user