Skip to content

Commit

Permalink
Remove api.stabilty.scala and unused fields from Stability
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab authored and keynmol committed Sep 12, 2022
1 parent 6114050 commit 863bf6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 83 deletions.
5 changes: 5 additions & 0 deletions frontend/src/main/scala/RetryingBackend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ import sttp.model.Method
import scala.concurrent.Future
import scala.concurrent.duration.*

case class Stability(
delay: FiniteDuration = 100.millis,
maxRetries: Int = 5
)

class RetryingBackend[P](
delegate: SttpBackend[Future, P]
)(using stability: Stability)
Expand Down
83 changes: 0 additions & 83 deletions frontend/src/main/scala/api.stability.scala

This file was deleted.

0 comments on commit 863bf6f

Please sign in to comment.