@@ -66,7 +66,27 @@ def customizeHLTfor47577(process):
66
66
prod .MaxNumberOfStripClusters = 1000
67
67
68
68
return process
69
-
69
+
70
+ def customizeHLTforXXXXX (process ):
71
+ attributes_to_remove = [
72
+ 'connectionRetrialPeriod' ,
73
+ 'connectionRetrialTimeOut' ,
74
+ 'connectionTimeOut' ,
75
+ 'enableConnectionSharing' ,
76
+ 'enablePoolAutomaticCleanUp' ,
77
+ 'enableReadOnlySessionOnUpdateConnection' ,
78
+ 'idleConnectionCleanupPeriod'
79
+ ]
80
+
81
+ for mod in modules_by_type (process , "PoolDBESSource" ):
82
+ if hasattr (mod , 'DBParameters' ):
83
+ pset = getattr (mod ,'DBParameters' )
84
+ for attr in attributes_to_remove :
85
+ if hasattr (pset , attr ):
86
+ delattr (mod .DBParameters , attr )
87
+
88
+ return process
89
+
70
90
# CMSSW version specific customizations
71
91
def customizeHLTforCMSSW (process , menuType = "GRun" ):
72
92
@@ -76,5 +96,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
76
96
# process = customiseFor12718(process)
77
97
process = customizeHLTfor47378 (process )
78
98
process = customizeHLTfor47577 (process )
99
+ process = customizeHLTforXXXXX (process )
79
100
80
101
return process
0 commit comments