Load Zstandard library during connection creation time

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Works as Designed
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the Zstandard library loading only happens when ZstdCompressor#compress is called. This can be problematic when the caller thread cannot do a blocking call. In our case, it's Netty's event loop thread, and BlockHound throws a BlockingOperationError.

      Instead, we can load the class when the ZstdCompressor instance is created.

            Assignee:
            Valentin Kavalenka
            Reporter:
            Halil İbrahim Şener
            None
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: