Skip to content

Optimize the FN connection logic #314

@SaintWish

Description

@SaintWish

Currently we create a new thread everytime the game server sends the character data to the FN server, and we do it every few seconds to prevent data loss in case of a game server crash. We're also creating a new connection each time too, so both things could use a pooling system to reuse connections and thread.

We should add another method for sending requests async with curl_multi, these requests would be for sending the character data to via FN server since we don't need a response back.

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