read poolsize from config