Skip to content

Commit b681e60

Browse files
committed
Remove long comment
1 parent 8d5e182 commit b681e60

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

prometheus_client/core.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,7 @@ def close(self):
395395
def _MultiProcessValue(_pidFunc=os.getpid):
396396
files = {}
397397
values = []
398-
399-
# pid needs to be evaluated here in a master process
400-
# because some metrics can be initialized before fork and inhereted by childs
401-
# as a result childs don't have a way to detect that files were opened
402-
# by another process and will write to them.
403398
pid = {'value': _pidFunc()}
404-
405399
# Use a single global lock when in multi-processing mode
406400
# as we presume this means there is no threading going on.
407401
# This avoids the need to also have mutexes in __MmapDict.

0 commit comments

Comments
 (0)