openfire-restAPI-plugin icon indicating copy to clipboard operation
openfire-restAPI-plugin copied to clipboard

Add option to endpoints that retrieve sessions to skip hostname lookup

Open guusdk opened this issue 2 years ago • 1 comments

Endpoints that return (client) sessions return entities that have a hostname field. To populate this field, a DNS lookup is sometimes required. This can severely slow down the response to requests on systems that have many sessions.

An optional request argument should be added that prevents this lookup.

guusdk avatar Jun 10 '22 14:06 guusdk

As requested in https://discourse.igniterealtime.org/t/rest-api-sessions-endpoint-slow/

guusdk avatar Jun 10 '22 14:06 guusdk