Allow disabling of PEP service to reduce DB queries. Set the system property "xmpp.pep.enable" to "false" to disable the service.
When a user is logged, the following query is executed once: SELECT DISTINCT serviceID FROM pubsubNode WHERE serviceID=?
The system property is actually "xmpp.pep.enabled". I tried to disable without luck. but after a quick look into the code, its working now (or better it's really disabled now).