DriveBackupV2

DriveBackupV2

46.6k Downloads

Error when setting thread priority

prefislt opened this issue ยท 3 comments

commented

If backup-thread-priority: set to lower number i getting this error message and backup doesn't work.

image

.... [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)

commented

Hi!

Are you running 1.2.0? In this version, I set the backup priority to the lowest possible value by default.

commented

Yes, make sense then. Negative value was left over from older version config.
It works fine with default value.

commented

Great