Kaynağa Gözat

Log info to test bin/worker.

parisminton 8 yıl önce
ebeveyn
işleme
0b0fc007ab
2 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. BIN
      bin/.server.swp
  2. 3 0
      bin/worker

BIN
bin/.server.swp Dosyayı Görüntüle


+ 3 - 0
bin/worker Dosyayı Görüntüle

@@ -14,6 +14,8 @@ pluckJob();
14 14
 
15 15
 function pluckJob(){
16 16
 
17
+  console.log('Running');
18
+
17 19
   transports.getJob(function(err, job){
18 20
 
19 21
     if (err) {
@@ -22,6 +24,7 @@ function pluckJob(){
22 24
 
23 25
     if (job) {
24 26
 
27
+      console.log('I found a job!');
25 28
       return render(job);
26 29
 
27 30
     }