MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / max_time_ms

Method max_time_ms

mongoengine/queryset/base.py:1308–1313  ·  view source on GitHub ↗

Wait `ms` milliseconds before killing the query on the server :param ms: the number of milliseconds before killing the query on the server

(self, ms)

Source from the content-addressed store, hash-verified

1306 return queryset
1307
1308 def max_time_ms(self, ms):
1309 """Wait `ms` milliseconds before killing the query on the server
1310
1311 :param ms: the number of milliseconds before killing the query on the server
1312 """
1313 return self._chainable_method("max_time_ms", ms)
1314
1315 # JSON Helpers
1316

Callers 1

test_max_time_msMethod · 0.80

Calls 1

_chainable_methodMethod · 0.95

Tested by 1

test_max_time_msMethod · 0.64