File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
commonMain/kotlin/spp.protocol/instrument/span
jvmMain/kotlin/spp/protocol Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ data class LiveSpan(
2323 override val applyImmediately : Boolean = false ,
2424 override val applied : Boolean = false ,
2525 override val pending : Boolean = false ,
26- override val throttle : InstrumentThrottle = InstrumentThrottle . DEFAULT ,
26+ override val throttle : InstrumentThrottle ? = null ,
2727 override val meta : Map <String , @Contextual Any > = emptyMap()
2828) : LiveInstrument() {
2929 override val type: LiveInstrumentType = LiveInstrumentType .SPAN
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ object ProtocolMarshaller {
4242 DatabindCodec .mapper().registerModule(KotlinModule ())
4343 DatabindCodec .mapper().enable(SerializationFeature .WRITE_ENUMS_USING_TO_STRING )
4444 DatabindCodec .mapper().enable(DeserializationFeature .READ_ENUMS_USING_TO_STRING )
45+ DatabindCodec .mapper().enable(DeserializationFeature .READ_UNKNOWN_ENUM_VALUES_AS_NULL )
4546 } catch (ignore: Throwable ) {
4647 }
4748 }
You can’t perform that action at this time.
0 commit comments