10b9d2e5ddbe57d99302fd6d97652636b771c797,utils/db_functions.py,,mongo_max_replication_lag,#,4
Before Change
oldest_secondary_optime = optime.time
if not primary_optime or not oldest_secondary_optime:
raise Exception("Replica set is not healthy")
return primary_optime - oldest_secondary_optime
After Change
oldest_secondary_optime = optime.time
if not primary_optime or not oldest_secondary_optime:
return
return primary_optime - oldest_secondary_optime
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: samuelclay/NewsBlur
Commit Name: 10b9d2e5ddbe57d99302fd6d97652636b771c797
Time: 2012-09-19
Author: samuel@ofbrooklyn.com
File Name: utils/db_functions.py
Class Name:
Method Name: mongo_max_replication_lag
Project Name: ellisdg/3DUnetCNN
Commit Name: 951bdc418cbd62dba740006155997ca96fc59f1a
Time: 2017-02-13
Author: david.ellis@unmc.edu
File Name: UnetTraining.py
Class Name:
Method Name: crop_data
Project Name: philipperemy/keras-activations
Commit Name: fe5db3121c4313775181dea4935c764b84b8d357
Time: 2019-01-03
Author: premy@cogent.co.jp
File Name: keract/keract.py
Class Name:
Method Name: get_gradients_of_activations
Project Name: ncullen93/torchsample
Commit Name: 80df9d12f27654b5d21d9833dfe2f9636aa37863
Time: 2017-05-05
Author: ncullen.th@dartmouth.edu
File Name: torchsample/transforms/tensor_transforms.py
Class Name: TypeCast
Method Name: __call__