From b10ec6a75161b83966e2d7281d94c21ba1c5dcb9 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 27 Apr 2019 17:36:47 +0200 Subject: remove msc specific db counters DB counters has been used to save osmo_counters & osmo_rate_ctr to a local sqlite databases every 60 seconds. This is quite slow e.g. 1000 subscriber might slow the msc down. Change-Id: Id64f1839a55b5326f74ec04b7a5dbed9d269b89c --- include/osmocom/msc/db.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') diff --git a/include/osmocom/msc/db.h b/include/osmocom/msc/db.h index 8d9ec41f2..d9463a684 100644 --- a/include/osmocom/msc/db.h +++ b/include/osmocom/msc/db.h @@ -52,10 +52,4 @@ int db_sms_delete_sent_message_by_id(unsigned long long sms_id); int db_sms_delete_expired_message_by_id(unsigned long long sms_id); void db_sms_delete_oldest_expired_message(void); -/* Statistics counter storage */ -struct osmo_counter; -int db_store_counter(struct osmo_counter *ctr); -struct rate_ctr_group; -int db_store_rate_ctr_group(struct rate_ctr_group *ctrg); - #endif /* _DB_H */ -- cgit v1.2.3