Optimize nDPI repeating speed 55/33455/1
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 18 Apr 2017 08:51:46 +0000 (16:51 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 18 Apr 2017 08:51:46 +0000 (16:51 +0800)
- check existence of target file for nDPI build task
- skip git updating

Change-Id: I7e91df0a38845b2ba8a2dec938b51e1ccc6554cc
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
resources/metric/nDPI.yaml

index c73d367..7922544 100644 (file)
@@ -46,6 +46,7 @@
     repo: https://github.com/ntop/nDPI.git
     dest: "{{ nDPI_cwd }}"
     depth: 1
+    update: no
 
 - name: build nDPI library
   command: '{{ item }}'
@@ -55,6 +56,7 @@
     - make
   args:
     chdir: "{{ nDPI_cwd }}"
+    creates: example/ndpiReader
 
 - name: copy sample packet file
   copy: