def reconnect(self, min_tresh=0):
    'Re-Connect to Database if minute threshold reached'
    if ((now() - self.last_connect).total_seconds() > (min_tresh * 60)):
        log('Reconnecting to {}...'.format(self.name))
        self.connect()
        self.last_connect = now()
Re-Connect to Database if minute threshold reached
def reconnect(self, min_tresh=0):
    
    if ((now() - self.last_connect).total_seconds() > (min_tresh * 60)):
        log('Reconnecting to {}...'.format(self.name))
        self.connect()
        self.last_connect = now()