1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

kafka refine comments.

This commit is contained in:
winlin 2015-10-22 14:29:37 +08:00
parent 31a77a83ed
commit de41c1c9d2
3 changed files with 42 additions and 31 deletions

View file

@ -69,7 +69,7 @@ private:
st_mutex_t lock;
SrsReusableThread* pthread;
private:
bool meatadata_ok;
bool metadata_ok;
st_cond_t metadata_expired;
public:
std::vector<SrsKafkaPartition*> partitions;
@ -93,6 +93,8 @@ public:
private:
virtual int do_cycle();
virtual int request_metadata();
// set the metadata to invalid and refresh it.
virtual void refresh_metadata();
};
#endif