You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2015/09/17 05:46:19 UTC

svn commit: r1703485 - in /openmeetings/branches/3.0.x/WebContent/src: base/hibernate/hibRtmpConnection.lzx base/mainMethods.lzx modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx

Author: solomax
Date: Thu Sep 17 03:46:16 2015
New Revision: 1703485

URL: http://svn.apache.org/r1703485
Log:
Room stability is improved

Modified:
    openmeetings/branches/3.0.x/WebContent/src/base/hibernate/hibRtmpConnection.lzx
    openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx
    openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx

Modified: openmeetings/branches/3.0.x/WebContent/src/base/hibernate/hibRtmpConnection.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/base/hibernate/hibRtmpConnection.lzx?rev=1703485&r1=1703484&r2=1703485&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/base/hibernate/hibRtmpConnection.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/base/hibernate/hibRtmpConnection.lzx Thu Sep 17 03:46:16 2015
@@ -590,7 +590,9 @@
 					canvas.thishib.loaderVar.close();
 				} else {
 					canvas.setRoomValues(value.roomtype.roomtypes_id,value.rooms_id,value);
-					canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues",[value.roomtype.roomtypes_id,value.rooms_id,value]);
+					var r = value;
+					r.currentusers = ''; //this might be huge list
+					canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues",[value.roomtype.roomtypes_id,value.rooms_id,r]);
 				}
 			} else {
 				new lz.labelerrorPopup(canvas,{errorlabelid:1286});

Modified: openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx?rev=1703485&r1=1703484&r2=1703485&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/base/mainMethods.lzx Thu Sep 17 03:46:16 2015
@@ -1057,6 +1057,14 @@
 	</method>
 		
 	<method name="sendViaLocalConnection" args="lc_name,methodName,tArray">
+		var so:SharedObject = SharedObject.getLocal("__getObjectSizeHelper");
+		so.data.o = tArray;
+		var size:Number = so.getSize();
+		so.clear();
+		if (size > 35000) {
+			if ($debug) Debug.warn("Too big object being sent via localConnection ", size); //,tArray
+			return;
+		}
 		//if ($debug) Debug.info("sendViaLocalConnection ",lc_name,methodName); //,tArray
 		if (tArray == null || tArray.length == 0) {
 			canvas.lc.send(lc_name,methodName);

Modified: openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx?rev=1703485&r1=1703484&r2=1703485&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx (original)
+++ openmeetings/branches/3.0.x/WebContent/src/modules/conference/flexibleConferenceRoom/baseConferenceRoom.lzx Thu Sep 17 03:46:16 2015
@@ -68,7 +68,9 @@
 		if ($debug) Debug.write("roomobj: ",this.roomobj);
 		
 		canvas.currentRoomObject = this.roomobj;
-		canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues", [this.roomobj.roomtype.roomtypes_id,this.roomobj.rooms_id,this.roomobj]);
+		var r = this.roomobj;
+		r.currentusers = ''; //this might be huge list
+		canvas.sendViaLocalConnection(canvas.rtmp_lc_name,"setRoomValues", [this.roomobj.roomtype.roomtypes_id,this.roomobj.rooms_id,r]);
 		
 		if (this.roomobj.isClosed) {
 			canvas.roomClosed();