Added log for timeout
This commit is contained in:
		
							parent
							
								
									5006d1d71d
								
							
						
					
					
						commit
						b5aa62cb93
					
				
							
								
								
									
										1
									
								
								controllers/prototype/dbrequests.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								controllers/prototype/dbrequests.js
									
									
									
									
										vendored
									
									
								
							| @ -1064,6 +1064,7 @@ DBReq.LastExpGetter.prototype.execute = function() { | ||||
|                 Log.dberror(err + ' in LastExpGetter (DBReq)'); | ||||
|             } | ||||
|             if (result.rows.length === 0) { | ||||
|                 Log.debug('Timeout', true); | ||||
|                 setTimeout(function() { | ||||
|                     self.execute(); | ||||
|                 }, 1000); | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| var baseUrl = 'http://localhost:4000/'; | ||||
| // var baseUrl = 'http://3dinterface.no-ip.org/';
 | ||||
| // var baseUrl = 'http://localhost:4000/';
 | ||||
| var baseUrl = 'http://3dinterface.no-ip.org/'; | ||||
| 
 | ||||
| function makeId() | ||||
| { | ||||
| @ -19,7 +19,7 @@ var casper = require('casper').create({ | ||||
|     waitTimeout: 100000 | ||||
| }); | ||||
| 
 | ||||
| var limit = 100; | ||||
| var limit = 1000; | ||||
| 
 | ||||
| casper.start(baseUrl); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user