openresty: max 500 queries