Select to view content in your preferred language

ArcGIS Rest API - Publishing Locator

3001
1
11-17-2014 01:05 PM
ErnestoCarreras3
Regular Contributor

How can the following pooling parameters be configured with python?

 

Under the Pooling configuration> Specify Service Timeouts

    The maximum time a client can use a service: 60 seconds

    The maximum time a client will wait to get a service: 60 seconds

    The maximum time an idle instance can be kept running: 3600 seconds

0 Kudos
1 Reply
XanderBakker
Esri Esteemed Contributor

Have a look at the example which demonstrates how to modify the min and max instances for a service:

ArcGIS Help (10.2, 10.2.1, and 10.2.2)

The REST API Help to edit a service definition can be found here:

ArcGIS Server Administrator API

You're looking for:

  • maxUsageTime
  • maxWaitTime
  • maxIdleTime

Kind regards, Xander