Skip to content
Snippets Groups Projects
Commit 08882ce7 authored by Simon Riggs's avatar Simon Riggs
Browse files

Reduce CPU utilisation of WALSender process. Process was using 10% CPU

doing nothing, caused by naptime specified in milliseconds yet units of
pg_usleep() parameter is microseconds. Correctly specifying units
reduces call frequency by 1000. Reduction in CPU consumption verified.
parent 16a4186d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment