diff --git a/sdk/trace/src/main/scala/org/typelevel/otel4s/sdk/trace/SpanStorage.scala b/sdk/trace/src/main/scala/org/typelevel/otel4s/sdk/trace/SpanStorage.scala index 766e3a56d..2e5f030ae 100644 --- a/sdk/trace/src/main/scala/org/typelevel/otel4s/sdk/trace/SpanStorage.scala +++ b/sdk/trace/src/main/scala/org/typelevel/otel4s/sdk/trace/SpanStorage.scala @@ -46,6 +46,6 @@ private class SpanStorage[F[_]] private ( private object SpanStorage { def create[F[_]: Concurrent]: F[SpanStorage[F]] = for { - storage <- MapRef.ofShardedImmutableMap[F, SpanContext, SpanRef[F]](Runtime.getRuntime.availableProcessors()) + storage <- MapRef[F, SpanContext, SpanRef[F]] } yield new SpanStorage[F](storage) }