• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 11233174198

08 Oct 2024 10:05AM UTC coverage: 46.725% (-44.0%) from 90.725%
11233174198

push

github

web-flow
Increase relay rate limit TTL (#1971)

Increases the relay rate limit TTL fallback value to 24 hours:

- Change `relay.ttlSeconds` value to `60 * 60 * 24`

498 of 3105 branches covered (16.04%)

Branch coverage included in aggregate %.

5024 of 8713 relevant lines covered (57.66%)

12.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

30.43
/src/logging/__tests__/test.logging.module.ts
1
import { Global, Inject, Module } from '@nestjs/common';
2✔
2
import { IConfigurationService } from '@/config/configuration.service.interface';
2✔
3
import { ILoggingService, LoggingService } from '@/logging/logging.interface';
2✔
4

5
class TestLoggingService implements ILoggingService {
2✔
6
  private readonly isSilent: boolean;
7

8
  constructor(
9
    @Inject(IConfigurationService)
10
    private readonly configurationService: IConfigurationService,
2✔
11
  ) {
12
    this.isSilent = configurationService.getOrThrow<boolean>('log.silent');
2✔
13
  }
14

15
  debug(message: unknown): void {
16
    if (this.isSilent) return;
×
17
    console.debug(message);
×
18
  }
19

20
  error(message: unknown): void {
21
    if (this.isSilent) return;
×
22
    console.error(message);
×
23
  }
24

25
  info(message: unknown): void {
26
    if (this.isSilent) return;
×
27
    console.info(message);
×
28
  }
29

30
  warn(message: unknown): void {
31
    if (this.isSilent) return;
×
32
    console.warn(message);
×
33
  }
34
}
35

36
@Global()
37
@Module({
38
  providers: [{ provide: LoggingService, useClass: TestLoggingService }],
39
  exports: [LoggingService],
40
})
41
export class TestLoggingModule {}
2✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc