@@ -463,7 +463,7 @@ func (r *registry) hkDelOld(int64) time.Duration {
463463 // first, cleanup (x-lso, x-moss): walk older to newer while counting the other kinds
464464 for i := range l {
465465 xctn := r .entries .all [i ].Get ()
466- if ! xact .Table [xctn .Kind ()].LogLess {
466+ if ! xact .Table [xctn .Kind ()].QuietBrief {
467467 numKeepMore ++
468468 continue
469469 }
@@ -479,7 +479,7 @@ func (r *registry) hkDelOld(int64) time.Duration {
479479 var cnt int
480480 for i := range l {
481481 xctn := r .entries .all [i ].Get ()
482- if xact .Table [xctn .Kind ()].LogLess {
482+ if xact .Table [xctn .Kind ()].QuietBrief {
483483 continue
484484 }
485485 if xctn .IsDone () {
@@ -626,13 +626,13 @@ func (e *entries) del(id string) {
626626}
627627
628628// is called under lock
629- // history control for LogLess kinds (x-lso, x-moss)
629+ // history control for QuietBrief kinds (x-lso, x-moss)
630630// – keep up to 1 024 finished records
631631// – anything beyond is silently dropped
632632func (e * entries ) _add (entry Renewable ) {
633633 e .active = append (e .active , entry )
634634
635- if l := len (e .all ); xact .Table [entry .Kind ()].LogLess && l >= keepOldThreshold {
635+ if l := len (e .all ); xact .Table [entry .Kind ()].QuietBrief && l >= keepOldThreshold {
636636 if n := skipXregHst .Inc (); n % skipXregHstCnt == 1 {
637637 nlog .Warningln ("num entries in xreg history:" , l , "exceeds the cap:" , keepOldThreshold ,
638638 "- not adding:" , xact .Cname (entry .Kind (), entry .UUID ()))
0 commit comments