connection classes separation
This commit is contained in:
parent
3b622984bf
commit
28f964a3e6
@ -144,6 +144,8 @@ async def main():
|
|||||||
with ExitStack() as es:
|
with ExitStack() as es:
|
||||||
LogWrites().enter(es)
|
LogWrites().enter(es)
|
||||||
if run_all:
|
if run_all:
|
||||||
|
print('not yet properly instrumented; exiting;')
|
||||||
|
raise NotImplementedError
|
||||||
LogEE(__import__('ptvp35').Request, '__init__').enter(es)
|
LogEE(__import__('ptvp35').Request, '__init__').enter(es)
|
||||||
LogEE(__import__('ptvp35').Request, 'waiting').enter(es)
|
LogEE(__import__('ptvp35').Request, 'waiting').enter(es)
|
||||||
LogEE(__import__('ptvp35').Request, 'set_result').enter(es)
|
LogEE(__import__('ptvp35').Request, 'set_result').enter(es)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ __all__ = ('InstrumentDiskWrites', 'NightlyInstrumentation')
|
|||||||
|
|
||||||
class InstrumentDiskWrites(Instrumentation):
|
class InstrumentDiskWrites(Instrumentation):
|
||||||
def __init__(self, /):
|
def __init__(self, /):
|
||||||
super().__init__(ptvp35.DbConnection, '_write_to_disk_sync')
|
super().__init__(ptvp35.File, 'write_to_disk_sync')
|
||||||
|
|
||||||
def on_write(self, line: str, /) -> None:
|
def on_write(self, line: str, /) -> None:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user