Skip to content

Commit

Permalink
adjust queue ETA calc based on latest data
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Apr 20, 2024
1 parent 9d0601c commit e90d6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/vc/commands/QueueCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Mono<Message> handle(final ChatInputInteractionEvent event) {
// probably only valid for regular queue, prio seems to move a lot faster
// returns double representing seconds until estimated queue completion time.
public static long getQueueWaitInSeconds(final Integer queuePos) {
return (long) (53.8 * (Math.pow(queuePos.doubleValue(), 1.04)));
return (long) (84.3 * (Math.pow(queuePos.doubleValue(), 1.05)));
}

public static String getEtaStringFromSeconds(final double totalSeconds) {
Expand Down

0 comments on commit e90d6ab

Please sign in to comment.