Skip to content

Commit

Permalink
More modifications to lift machine
Browse files Browse the repository at this point in the history
  • Loading branch information
timperrett committed Jun 28, 2010
1 parent 1fa7593 commit 8dca128
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ package model {
def globalTransitions = Nil
def states = List(
State(AuctionStates.Initial, On({case _ => }, AuctionStates.Active)),
State(AuctionStates.Active, After(2 minutes, AuctionStates.Expired))
State(AuctionStates.Active, After(auction.obj.map(_.expires_at).openOr(2 minutes), AuctionStates.Expired))
)
case object FirstEvent extends Event
}
Expand Down

0 comments on commit 8dca128

Please sign in to comment.