score:1
Accepted answer
your procfile
should use worker:
instead of web:
. for example:
worker: target/universal/stage/bin/{myappname}
then scale up the "worker" dynos by running:
$ heroku ps:scale worker=1
you can name the process anything you want (doesn't have to be "worker"), but "web" dynos are treated specially. heroku expects them to bind to a port and serve web requests.
Source: stackoverflow.com
Related Query
- Boot timeout when deploying an sbt project to heroku
- Out of Memory Error Using SBT When Executing Lift Project
- Why it took so long to download sbt dependencies when I create a scala project in intellij idea?
- On scala project - Getting error GC overhead limit exceeded when running sbt test command
- Error: Could not retrieve sbt 0.11.3 when running existing project in Play 2.1.0?
- Unresolved dependency issue when compiling spark project with sbt
- How to use plugin in sbt project when only the plugin's sources available?
- Extracting Structure Failed when importing an sbt project
- SBT - Multi project merge strategy and build sbt structure when using assembly
- How to avoid adding a 'root' scala sbt project in IntelliJ when defining github dependencies?
- Failure when deploying to heroku
- Preserve results of sbt incremental compilation when moving project directory
- Scala app on Heroku - Boot Timeout
- AttributeKeyID collisions when loading github project with sbt
- Why is the original scala sbt project recompiled by when I build an exact copy of it in an other folder?
- Strange error when using processing library from maven central in a sbt project
- What is the difference between SBT and IDEA when creating a Scala project in intelliJ?
- Why is "compile" called 2 times when calling "run" in SBT Play Framework Project
- How to avoid re-downloading the sbt dependency package when moving the sbt project to a new machine
- Error when importing sbt project due to powershell.exe missing
- GC overhead limit exceeded in Docker when trying to build project by sbt
- Object is not a member of package error when sharing modules across multiple SBT project
- What Project SDK should I use when creating an sbt project in IntelliJ IDEA?
- Understanding project structure when using SBT project in Intellij Idea
- Including unmanaged jars on classpath, when building scala project using sbt
- Errors when creating a Scala project with sbt
- Cannot deploy sbt project to Heroku
- Can't resolve jar library in InteliJ when adding to libraries in SBT project
- Problem when importing slick into my sbt project
- SbtWeb not found when building Scala project with sbt
More Query from same tag
- Validate scala forms, when form contains inner case classes
- use of spark job server
- Deploying Play 2.3 on production
- Intellij unable to resolve references to a specific jar file
- Scala case class: avoid recomputation of the property
- how to create a set by parsing xml in which every children has his parent
- Scala ZIO Ref datatype
- Cannot stream simple string in Play 2.5 (Scala)
- Incompatible Jackson version: Spark Structured Streaming
- How to prevent debugger from stepping into Object class code in Eclipse when developing with Scala?
- What's the purpose of Currying given other alternatives to return a function in Scala?
- Play 2.2 tests failed with exception 'The play Cache is not alive (STATUS_SHUTDOWN)'
- Insertion-ordered ListSet
- Protobuf compiler for scala: ScalaPB
- Does Scala offer a way to "proxy" or "decorate" a function without repeating the argument list?
- Decode Base64 within Spark Dataframe using Scala
- How to deal with the error "cannot resolve symbol .."
- Why we need implicit parameters in scala?
- Count rows with Slick 1.0.0
- Multiple onCompletion works in Futures in Scala
- Scala/Spark - Aggregating RDD
- How to cast Scala value already defined in the function
- How do I read in all files including subfolders when streaming from folder using spark streaming in scala?
- Restructring the textfile based on pattern in the file
- Executing a simple task on another thread in scala
- Using Parboiled to parse different input types with same separator
- Replace Asynchronous Anonymous Class with Function
- Folding on case classes
- How can I normalize a matrix in spark?
- Multiple agg functions using Over Window (Concat & max )