X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Finsert.py;h=d485b7be619ddfbcbe6f1712f44432dd71e91dce;hb=refs%2Fchanges%2F55%2F11455%2F2;hp=815d42f584962cf2ef2586ac404a1c71d674d84e;hpb=77f7c38a2133e3ca11582a217762802d1a14c8fa;p=ric-app%2Fad.git diff --git a/src/insert.py b/src/insert.py index 815d42f..d485b7b 100644 --- a/src/insert.py +++ b/src/insert.py @@ -31,8 +31,8 @@ class INSERTDATA(DATABASE): super().__init__() self.config() self.connect() - self.dropdb('RIC-Test') - self.createdb('RIC-Test') +# self.dropdb('RIC-Test') +# self.createdb('RIC-Test') def config(self): cfg = ConfigParser() @@ -67,7 +67,7 @@ class INSERTDATA(DATABASE): d = df[df['measTimeStampRf'] == timestamp] d.index = pd.date_range(start=datetime.datetime.now(), freq='1ms', periods=len(d)) self.client.write_points(d, self.meas) - time.sleep(0.4) + time.sleep(0.7) def populatedb():