Skip to content

Instantly share code, notes, and snippets.

@lewang
Created March 20, 2017 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewang/0d68e7ec1dc01f6bd53afda87d205930 to your computer and use it in GitHub Desktop.
Save lewang/0d68e7ec1dc01f6bd53afda87d205930 to your computer and use it in GitHub Desktop.
diff -u --label /Users/lewang/src/circleci/circle/src/circle/model/plan_template.clj --label \#\<buffer\ plan_template.clj\> /Users/lewang/src/circleci/circle/src/circle/model/plan_template.clj /var/folders/1j/g0fjg7qs4gd4xxhrdnk73n200000gn/T/buffer-content-3619Iwr
--- /Users/lewang/src/circleci/circle/src/circle/model/plan_template.clj
+++ #<buffer plan_template.clj>
@@ -279,7 +279,7 @@
(t/ann find-template [(t/U t/Keyword t/Str) -> (t/Option PlanTemplate)])
(def find-template
;; use find-one-by-id b/c find-by-id uses :_id
- (memo/ttl find-one-by-id
+ (memo/ttl #'find-one-by-id
:ttl/threshold
(* 30 1000)))
Diff finished. Mon Mar 20 12:53:46 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment