Skip to content

[New bug] ip2c takes 100 times longer to load #4209

@ArranTuna

Description

@ArranTuna

Describe the bug

I noticed that player countries wasn't loading, debugged it for an hour and something inside loadIPGroupsWorker() is stuck in an infinite loop (turns out it's just extremely slow) and it's just too complex for me to try and figure out what's wrong.

Steps to reproduce

Get the newest nightly (23183)
Launch local server with ip2c resource running
Notice it doesn't work and performancebrowser shows it using 39% CPU.

Version

Multi Theft Auto v1.6-release-23183

Additional context

Image

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions