From 6e5eb0cc521aa4d3cc9b00f89ed6cbaf8a525a8a Mon Sep 17 00:00:00 2001 From: kovstas Date: Sun, 2 Jun 2024 01:18:30 +0200 Subject: [PATCH] change memory leak test throttle duration --- src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala b/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala index bce567d..9050790 100644 --- a/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala +++ b/src/test/scala/dev/kovstas/fs2throttler/MemoryLeakSpec.scala @@ -139,14 +139,14 @@ class MemoryLeakSpec extends FunSuite { Stream .range(0, 1000000) .covary[IO] - .through(Throttler.throttle(100, 100.millis, Enforcing)) + .through(Throttler.throttle(100, 10.millis, Enforcing)) } leakTest("Throttler.throttle shaping") { Stream .range(0, 1000000) .covary[IO] - .through(Throttler.throttle(100, 100.millis, Shaping)) + .through(Throttler.throttle(100, 10.millis, Shaping)) } }