Skip to content

concurrent map #981

Open
Open
@juliomartinsdev

Description

@juliomartinsdev

i notice this error using v3, is in application with many requests,
i dont know if this issue is releated

Mar 07 09:06:53.283 /workspace/vendor/resty.dev/v3/client.go:2243 +0xb2
Mar 07 09:06:53.283 resty.dev/v3.(*Client).execute(0xc0008b7b88, 0xc00263d688)
Mar 07 09:06:53.283 /workspace/vendor/resty.dev/v3/client.go:2229 +0x5d
Mar 07 09:06:53.283 resty.dev/v3.(*Client).executeRequestMiddlewares(0xc0008b7b88, 0xc00263d688)
Mar 07 09:06:53.283 /workspace/vendor/resty.dev/v3/middleware.go:36 +0x39
Mar 07 09:06:53.283 resty.dev/v3.PrepareRequestMiddleware(0xc0008b7b88, 0xc00263d688)
Mar 07 09:06:53.283 /workspace/vendor/resty.dev/v3/middleware.go:179 +0x79
Mar 07 09:06:53.283 resty.dev/v3.parseRequestHeader(0xc0008b7b88?, 0xc00263d688)
Mar 07 09:06:53.283 /layers/heroku_go/shim/go-path/pkg/mod/golang.org/[email protected]/src/internal/runtime/maps/table.go:683 +0x86
Mar 07 09:06:53.283 internal/runtime/maps.(*Iter).Next(0xc0005a9ad0?)
Mar 07 09:06:53.283 /layers/heroku_go/shim/go-path/pkg/mod/golang.org/[email protected]/src/runtime/panic.go:1053 +0x18
Mar 07 09:06:53.283 internal/runtime/maps.fatal({0x17db924?, 0x47cfcf?})
Mar 07 09:06:53.283 goroutine 2556616 [running]:
Mar 07 09:06:53.279 fatal error: concurrent map iteration and map write

can any one help here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions