Skip to content

Loading…

Fix typos in README #100

Closed
wants to merge 1 commit into from

2 participants

@jdanbrown

No description provided.

@mariusae
Twitter, Inc. member

Thanks! pulled internally, should show up here within a day.

@mariusae mariusae closed this
@kil9 kil9 pushed a commit to kil9/finagle that referenced this pull request
@jdanbrown jdanbrown [split] Fix typos in README
Github-pull-request: twitter#100
Signed-off-by: marius a. eriksen <marius@twitter.com>

RB_ID=80078
be20089
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 2, 2012
  1. @jdanbrown

    Fix typos

    jdanbrown committed
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -918,7 +918,7 @@ A more complex variation of scatter/gather pattern is to perform a sequence of a
import com.twitter.finagle.util.Timer._
- val results: Seq[Future[Result]] = partitions.map { partition =>
+ val timedResults: Seq[Future[Result]] = partitions.map { partition =>
partition.get(query).within(1.second) handle {
case _: TimeoutException => EmptyResult
}
@@ -941,7 +941,7 @@ A `FuturePool` object enables you to place a blocking operation on its own threa
val diskIoFuturePool = FuturePool(Executors.newFixedThreadPool(4))
def apply(path: String) = {
- val blockingOperation = {
+ def blockingOperation = {
scala.Source.fromFile(path) // potential to block
}
// give this blockingOperation to the future pool to execute
Something went wrong with that request. Please try again.