bulkindexer: get insights into how many docs are pending to be flushed #63

Open
Dieterbe opened this Issue Mar 5, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@Dieterbe

Dieterbe commented Mar 5, 2014

I want to track how many items are pending to be flushed.
should be doable but with a simple len() on the channel, except that it's a private property, so it needs a wrapper function

@mattbaird

This comment has been minimized.

Show comment
Hide comment
@mattbaird

mattbaird Mar 5, 2014

Owner

can you submit a PR?

Owner

mattbaird commented Mar 5, 2014

can you submit a PR?

@mattbaird

This comment has been minimized.

Show comment
Hide comment
@mattbaird

mattbaird Mar 6, 2014

Owner

also, don't you want the value of docCt in bulk.go? or would you rather have the len of bulkChannel?

Owner

mattbaird commented Mar 6, 2014

also, don't you want the value of docCt in bulk.go? or would you rather have the len of bulkChannel?

@Dieterbe

This comment has been minimized.

Show comment
Hide comment
@Dieterbe

Dieterbe Mar 10, 2014

i'm not sure TBH. i was looking at the code and couldn't figure out how it works.

i'm not sure TBH. i was looking at the code and couldn't figure out how it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment