Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuszkierat committed Dec 31, 2024
1 parent 67760c5 commit 4281e96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion perf-tests/src/main/scala/sttp/tapir/perf/play/Play.scala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object Tapir extends Endpoints {
(actorSystem: ActorSystem) => {
implicit val actorSystemForMaterializer: ActorSystem = actorSystem
implicit val ec: ExecutionContext = actorSystem.dispatcher
val serverOptions = buildOptions(PlayServerInterpreter, withServerLog)
val serverOptions = buildOptions(PlayServerOptions.customiseInterceptors(), withServerLog)
PlayServerInterpreter(serverOptions).toRoutes(
genEndpointsFuture(nRoutes)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ class PlayServerTest extends TestSuite {
def drainAkka(stream: AkkaStreams.BinaryStream): Future[Unit] =
stream.runWith(Sink.ignore).map(_ => ())

PlayServerOptions.customiseInterceptors().serverLog(PlayServerOptions.defaultServerLog.logWhenReceived(true)
.logAllDecodeFailures(true)).options

new ServerBasicTests(
createServerTest,
interpreter,
Expand Down

0 comments on commit 4281e96

Please sign in to comment.