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

salesforce / refocus / 7299
89%

Build:
DEFAULT BRANCH: master
Ran 03 May 2018 02:27PM UTC
Jobs 1
Files 149
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7299

push

travis-ci

web-flow
Log out the number of events per key for real-time events published, … (#826)

* Log out the number of events per key for real-time events published, for perspectives and bots.

- (config/toggles.js) Define new toggle "enablePubStatsLogs" based on env var ENABLE_PUB_STATS_LOGS.
- (config.js) Define new config var pubStatsLogsIntervalMillis, default to 60000 (1 min.), override with env var PUB_STATS_LOGS_INTERVAL_MILLIS. When enablePubStatsLogs is enabled, we will write out "activity=pubStats" log lines every minute (unless admin overrides the default).
- (config/activityLog.js) Define new "activity=pubStats" log type
- (clock/scheduledJobs/pubStatsLogs.js) New scheduled job to generate the "activity=pubStats" log lines and reset the counters every <pubStatsLogsIntervalMillis>.
- (clock/index.js) When enablePubStatsLogs is enabled, add the new pubStatsLogs scheduled job to the list of jobs managed by the clock dyno.
- (realtime/constants.js) - Define a constant to use as the key to the redis cache hash object where we will store the published event counts.
- (realtime/redisSubscriber.js) - When enablePubStatsLogs is enabled, track the number of real-time events in redis cache.
- (tests/clock/pubStatsLogs.js) - Unit test the clock/pubStatsLogs.js functions

2245 of 2797 branches covered (80.26%)

35 of 35 new or added lines in 3 files covered. (100.0%)

6068 of 6811 relevant lines covered (89.09%)

428.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
100.0
clock/scheduledJobs/pubStatsLogs.js
2
100.0
realtime/redisSubscriber.js
1
100.0
clock/index.js
Jobs
ID Job ID Ran Files Coverage
1 7299.1 03 May 2018 02:27PM UTC 0
89.09
Travis Job 7299.1
Source Files on build 7299
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7299
  • d5fb626d on github
  • Prev Build on master (#7290)
  • Next Build on master (#7315)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc