Skip to content

Commit 4281e96

Browse files
revert
1 parent 67760c5 commit 4281e96

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

perf-tests/src/main/scala/sttp/tapir/perf/play/Play.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ object Tapir extends Endpoints {
7878
(actorSystem: ActorSystem) => {
7979
implicit val actorSystemForMaterializer: ActorSystem = actorSystem
8080
implicit val ec: ExecutionContext = actorSystem.dispatcher
81-
val serverOptions = buildOptions(PlayServerInterpreter, withServerLog)
81+
val serverOptions = buildOptions(PlayServerOptions.customiseInterceptors(), withServerLog)
8282
PlayServerInterpreter(serverOptions).toRoutes(
8383
genEndpointsFuture(nRoutes)
8484
)

server/play29-server/src/test/scala/sttp/tapir/server/play/PlayServerTest.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ class PlayServerTest extends TestSuite {
103103
def drainAkka(stream: AkkaStreams.BinaryStream): Future[Unit] =
104104
stream.runWith(Sink.ignore).map(_ => ())
105105

106-
PlayServerOptions.customiseInterceptors().serverLog(PlayServerOptions.defaultServerLog.logWhenReceived(true)
107-
.logAllDecodeFailures(true)).options
108-
109106
new ServerBasicTests(
110107
createServerTest,
111108
interpreter,

0 commit comments

Comments
 (0)