Error when setting thread priority
prefislt opened this issue ยท 3 comments
If backup-thread-priority:
set to lower number i getting this error message and backup doesn't work.
.... [15:38:28 WARN]: Exception in thread "Thread-160" java.lang.IllegalArgumentException
.... [15:38:28 WARN]: at java.base/java.lang.Thread.setPriority(Thread.java:1141)
.... [15:38:28 WARN]: at ratismal.drivebackup.UploadThread.run(UploadThread.java:54)
.... [15:38:28 WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
Hi!
Are you running 1.2.0? In this version, I set the backup priority to the lowest possible value by default.
Yes, make sense then. Negative value was left over from older version config.
It works fine with default value.