Projects STRLCPY prox5 Commits 79377583
🤬
  • ■ ■ ■ ■ ■ ■
    getters.go
    skipped 32 lines
    33 33  // GetStaleTime returns the duration of time after which a proxy will be considered "stale".
    34 34  func (p5 *Swamp) GetStaleTime() time.Duration {
    35 35   p5.swampopt.RLock()
    36  - defer p5.swampopt.RLock()
     36 + defer p5.swampopt.RUnlock()
    37 37   return p5.swampopt.stale
    38 38  }
    39 39   
    skipped 43 lines
    83 83  // GetRecyclingStatus retrieves the current recycling status, see EnableRecycling.
    84 84  func (p5 *Swamp) GetRecyclingStatus() bool {
    85 85   p5.swampopt.RLock()
    86  - defer p5.swampopt.RLock()
     86 + defer p5.swampopt.RUnlock()
    87 87   return p5.swampopt.recycle
    88 88  }
    89 89   
    skipped 40 lines
Please wait...
Page is in error, reload to recover