neutron-lib/neutron_lib/db
Slawek Kaplonski 024b5af64b Log time of the apply_func only if it took more than 0.1 second
It seems that logging start and end time of the
neutron_lib.db.resource_extend.apply_func function is little bit too
much for e.g. our gate as neutron-server logs are huge in such case.

So lets use directly oslo_utils.timeutils.time_it() function and log end
of such calls only if it will take more than 0.1 seconds. If function
was executed in shorter time, it isn't really necessary to have it
logged.

Change-Id: I3931c4f7cac4df72d71403ebcaa6ec0b83756640
Closes-Bug: #1892017
2020-08-19 13:25:02 +02:00
..
__init__.py Add pagination helpers 2016-03-18 21:41:41 -04:00
api.py Remove library "six" 2020-01-22 13:16:45 +00:00
constants.py rehome availability zone API def 2017-08-04 10:51:43 -06:00
model_base.py Base DB: rehome model_base 2016-08-19 08:47:37 -04:00
model_query.py Pass on missing implementation while filtering 2019-12-14 10:36:53 +01:00
resource_extend.py Log time of the apply_func only if it took more than 0.1 second 2020-08-19 13:25:02 +02:00
sqlalchemytypes.py rehome sqlalchemytypes 2019-02-27 14:54:39 -07:00
standard_attr.py rehome neutron.db.standard_attr 2019-03-21 07:02:14 -06:00
utils.py Remove library "six" 2020-01-22 13:16:45 +00:00