Skip to content

Cloudflare DNS #9

Description

@Polsulpicien

Users with their DNS set as Cloudflare are experiencing +~6s per player when requesting players.

If aiohttp isn't told to use a TCPConnector of the AF_INET6 class, it takes longer to resolve the ip addres. Because some afaik Cloudflare doesn't like IPv4.
So just import the constant that represents the AF_NET6 family from socket and replace
From phiwijo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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