Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
#28 implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
worksofliam committed Feb 8, 2018
1 parent bfb3310 commit b457452
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ILEditor/Classes/IBMi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public static bool Connect(bool OfflineMode = false)
Client.SocketKeepAlive = true;

Client.ConnectTimeout = 5000;
Client.ReadTimeout = 2500;
Client.Connect();

//Change the user library list on connection
Expand Down Expand Up @@ -177,6 +176,7 @@ public static bool RemoteCommand(string Command, bool ShowError = true)
string inputCmd = "RCMD " + Command;
try
{
//IF THIS CRASHES CLIENT DISCONNECTS!!!
FtpReply reply = Client.Execute(inputCmd);

if (ShowError)
Expand Down
2 changes: 1 addition & 1 deletion ILEditor/Classes/Member.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void Lock()
{
if (this._isEditable)
{
bool result = IBMi.RemoteCommand("ALCOBJ OBJ((" + this._Lib + "/" + this._Obj + " *FILE *EXCLRD " + this._Mbr + "))", false);
bool result = IBMi.RemoteCommand("ALCOBJ OBJ((" + this._Lib + "/" + this._Obj + " *FILE *EXCLRD " + this._Mbr + ")) WAIT(1)", false);

this._isLocked = result;
if (result == false)
Expand Down
2 changes: 1 addition & 1 deletion ILEditor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.3.0")]
[assembly: AssemblyVersion("1.1.4.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en-GB")]

Expand Down

0 comments on commit b457452

Please sign in to comment.