mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: seeding causing python process to crash
This commit is contained in:
parent
e1a1136e05
commit
89bfb517fb
3 changed files with 15 additions and 4 deletions
|
@ -10,6 +10,7 @@ import { HydraApi } from "./services/hydra-api";
|
|||
import { uploadGamesBatch } from "./services/library-sync";
|
||||
import { Aria2 } from "./services/aria2";
|
||||
import { Downloader } from "@shared";
|
||||
import { IsNull, Not } from "typeorm";
|
||||
|
||||
const loadState = async (userPreferences: UserPreferences | null) => {
|
||||
import("./events");
|
||||
|
@ -40,6 +41,7 @@ const loadState = async (userPreferences: UserPreferences | null) => {
|
|||
shouldSeed: true,
|
||||
downloader: Downloader.Torrent,
|
||||
progress: 1,
|
||||
uri: Not(IsNull()),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue