Skip to content

Commit

Permalink
Fix dxt comflict with recorder (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
onewbiek authored Apr 26, 2024
1 parent a755fe2 commit 0ab1ded
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drishti/includes/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import datetime
import csv
import time
from rich import box
from rich.syntax import Syntax
from drishti.includes.config import *
Expand Down Expand Up @@ -128,7 +129,7 @@ def check_size_intensive(total_size, total_read_size, total_written_size):
)


def check_small_operation(total_reads, total_reads_small, total_writes, total_writes_small, detected_files, modules, file_map, df_posix):
def check_small_operation(total_reads, total_reads_small, total_writes, total_writes_small, detected_files, modules, file_map, df_posix=None):
'''
Check whether application has performed an excessive number of small operations
Expand Down Expand Up @@ -258,6 +259,8 @@ def check_small_operation(total_reads, total_reads_small, total_writes, total_wr
total_writes_small, total_writes_small / total_writes * 100.0
)

dxt_trigger_time = 0

detail = []
recommendation = []

Expand Down

0 comments on commit 0ab1ded

Please sign in to comment.