Changeset 20614


Ignore:
Timestamp:
05/15/16 20:16:23 (9 years ago)
Author:
dlcheng
Message:

CHG (javascript): Addressing response error caused by small model size by reducing minimum expected response size to from 65.5kb to 1kb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/clusters/generic.js

    r20613 r20614  
    6767                                startIndex = endIndex;
    6868                                endIndex = startIndex + chunkSize;
    69                                 if (chunkSize >= 65535) { //Arbitrary maximium size of message (Must be below minimium size of model results)
     69                                if (chunkSize >= 1024) { //Arbitrary maximium size of message (Must be below minimium size of model results)
    7070                                        $(".run-button").html(sprintf("%-20s", "DOWNLOADING: " + ((request.responseText.length - request.position) / chunkSize * 100).toFixed(0) + "%")).prop("disabled", true);
    7171                                }
Note: See TracChangeset for help on using the changeset viewer.