Skip to content

init() limits GOMAXPROCS and flags #16

@tpjg

Description

@tpjg

Maybe it's just me, but it seems that calling flag.Parse() in redis.go/init() is causing my other flags to get ignored, maybe because this package loads before the "main" package? (I'm new to Go, so could be my mistake - and of course you can't be sure that any main package will actually call flag.Parse()).

Also, why is init() calling runtime.GOMAXPROCS(2) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions