MCPcopy Index your code
hub / github.com/antirez/botlib / resetBotStats

Function resetBotStats

botlib.c:877–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877void resetBotStats(void) {
878 botStats.start_time = time(NULL);
879 botStats.queries = 0;
880}
881
882int startBot(char *createdb_query, int argc, char **argv, int flags, TBRequestCallback req_callback, TBCronCallback cron_callback, char **triggers) {
883 srand(time(NULL));

Callers 1

startBotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected