Update CONTRIBUTING.md
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
ddda24e34d
commit
243bdeb29c
|
@ -367,7 +367,7 @@ On file `app/controllers/shared/api.php` in database listener, add to an exist
|
|||
->addMetric(METRIC_TEAMS, $value); // per project
|
||||
break;
|
||||
```
|
||||
There are cases when you need to handle metric the is a parent entity, like buckets.
|
||||
There are cases when you need to handle metric that has a parent entity, like buckets.
|
||||
Files are linked to a parent bucket, you should verify you remove the files stats when you delete a bucket.
|
||||
|
||||
In that case you need also to handle children removal using addReduce() method call.
|
||||
|
|
Loading…
Reference in a new issue