Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
master
Description
The constructor and private member variable should be references as the KVBucketIface can never be null
/**
|
* Look around at hash tables and verify they're all sized
|
* appropriately.
|
*/
|
class HashtableResizerTask : public GlobalTask { |
public: |
HashtableResizerTask(KVBucketIface* s, double sleepTime); <- `s` should be reference |
|
bool run(void); |
|
cb::const_char_buffer getDescription() {
|
return "Adjusting hash table sizes."; |
}
|
|
private: |
KVBucketIface* store; <- should be reference
|
};
|