move global limits out of gateway

Status Job ID Name Coverage
  Lint
passed #136672231
lint

00:02:39

 
  Test
passed #136672234
integration-tests

00:25:30

75.0%
passed #136672232
legacy-tests

00:08:20

52.1%
passed #136672233
package-tests

00:15:15

87.7%