app/config/ComputerChecker.scala
Function onReceive
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
override def onReceive(message: Any): Unit = {
// Only execute when it's not executing.
if (!isExecuting) {
// Set flag. It starts to execute now.
Constructor has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
class ComputerChecker @Inject()(connectedUserDAO: ConnectedUserDAO, computerStateDAO: ComputerStateDAO, computerService: ComputerService, sSHOrderService: SSHOrderService, actorSystem: ActorSystem, executionContext: ExecutionContext) extends UntypedActor with Timer {