Logs button shows unending throbber + CPU usage irregular

In my project linked above the logs button shows the cycling circles throbber and it doesn’t go away - my CPU usage is also oscillating between 4% and 21% even though it doesn’t actually do anything. What could be causing this?

Hey @CarlyRaeJepsenStan,

  1. The unending cycling circles can be stopped by appending this line to your server.js or your main script file.
var listener = app.listen(process.env.PORT, function () {
  console.log('Your app is listening on port ' + listener.address().port);
  1. As for the varying CPU, see this post:
1 Like

Thanks! I’ve added the listener script and the cpu oscillations went away.

1 Like