We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c49a3fb commit eae7a48Copy full SHA for eae7a48
library/createdb/computer_info.py
@@ -3,8 +3,8 @@
3
from contextlib import suppress
4
from pathlib import Path
5
6
-INTERVAL = 30
7
-INTERVAL_STR = "30s"
+INTERVAL = 5
+INTERVAL_STR = "5s"
8
9
IS_LINUX = sys.platform == "linux"
10
IS_MAC = sys.platform == "darwin"
library/multidb/allocate_torrents.py
@@ -84,7 +84,7 @@ def allocate_torrents():
84
FROM media AS disks
85
JOIN playlists AS computers ON computers.id = disks.playlists_id
86
WHERE free >= :min_free_space
87
- AND (device_read_30s + device_write_30s) /(30) /2 <= :max_io_rate
+ AND (device_read_5s + device_write_5s) /(30) /2 <= :max_io_rate
88
ORDER BY free
89
""",
90
{
0 commit comments