1
0
Selaa lähdekoodia

Move start.lisp to example

Innocenty Enikeew 7 vuotta sitten
vanhempi
commit
e3b40fdfad
3 muutettua tiedostoa jossa 7 lisäystä ja 6 poistoa
  1. 1 0
      .gitignore
  2. 6 6
      macros.lisp
  3. 0 0
      start.lisp.example

+ 1 - 0
.gitignore

@@ -1,5 +1,6 @@
 config.lisp
 settings.lisp
+start.lisp
 chart.png
 db.sqlite*
 *.fasl

+ 6 - 6
macros.lisp

@@ -137,12 +137,12 @@
         (scheduler (symbol-append name '-scheduler)))
     `(progn
        (defun ,name ()
-	 (unwind-protect
-	      (handler-case
-		  (let ((*random-state* (make-random-state t)))
-		    ,@body)
-		(error (e) (log:error "~A" e)))
-	   (dex:clear-connection-pool)))
+         (unwind-protect
+              (handler-case
+                  (let ((*random-state* (make-random-state t)))
+                    ,@body)
+                (error (e) (log:error "~A" e)))
+           (dex:clear-connection-pool)))
        (defun ,scheduler ()
          (clon:schedule-function
           ',name (clon:make-scheduler

+ 0 - 0
start.lisp → start.lisp.example