Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased the timeouts to handle long PDFs gracefully #480

Merged
merged 4 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions skema/text_reading/scala/webapp/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ libraryDependencies ++= Seq(
"org.clulab" %% "model-streamed-trigram-ser" % "1.0.0",
guice
)

// Enable longer timeouts on the webservice controllers (40 min)
PlayKeys.devSettings += "play.server.http.idleTimeout" -> "2400 seconds"
3 changes: 3 additions & 0 deletions skema/text_reading/scala/webapp/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ play.filters.hosts {

// This is particularly important for cosmosJsonToMentions
play.http.parser.maxMemoryBuffer=500K

// Necessary to finish long papers
play.server.http.idleTimeout = 2400 seconds