Subversion Repositories SmartDukaan

Rev

Rev 10167 | Rev 10224 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10167 Rev 10209
Line 977... Line 977...
977
					transactionClient.updateSourceDetailTimestamp(7, lastSentInventoryTime);
977
					transactionClient.updateSourceDetailTimestamp(7, lastSentInventoryTime);
978
				} catch (Exception ex) {
978
				} catch (Exception ex) {
979
					ex.printStackTrace();
979
					ex.printStackTrace();
980
				}
980
				}
981
			}
981
			}
982
			int retry = 3;
982
			int retry = 5;
983
			boolean feedsuccess =false;
983
			boolean feedsuccess =false;
984
			while(retry>0){
984
			while(retry>0){
985
				try {
985
				try {
986
					lastUpdatedInventoryTime = lastSentInventoryTime; 
986
					lastUpdatedInventoryTime = lastSentInventoryTime; 
987
					fetchinventoryhistoryfromsnapdeal();
987
					fetchinventoryhistoryfromsnapdeal();
Line 994... Line 994...
994
					break;
994
					break;
995
				}
995
				}
996
				Thread.sleep(2*60*1000);
996
				Thread.sleep(2*60*1000);
997
				retry --;
997
				retry --;
998
			}
998
			}
999
 
-
 
1000
			String PANEL_TEXT_MAIL = "";
999
			String PANEL_TEXT_MAIL = "";
1001
			if(PANEL){
1000
			if(PANEL){
1002
				PANEL_TEXT_MAIL = " (Using Panel)";
1001
				PANEL_TEXT_MAIL = " (Using Panel)";
1003
			}
1002
			}
1004
			String emailSubjectTxt;
1003
			String emailSubjectTxt;