mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Merge pull request #320 from TeamPiped/ryd-timeout
Allow increasing the RYD proxy timeout.
This commit is contained in:
commit
748235fcbd
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class ResponseHelper {
|
||||||
if (info.getDislikeCount() < 0 && info.getLikeCount() >= 0) {
|
if (info.getDislikeCount() < 0 && info.getLikeCount() >= 0) {
|
||||||
double rating;
|
double rating;
|
||||||
try {
|
try {
|
||||||
rating = futureDislikeRating.get(2, TimeUnit.SECONDS);
|
rating = futureDislikeRating.get(3, TimeUnit.SECONDS);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
rating = -1;
|
rating = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue