Skip to content

Instantly share code, notes, and snippets.

@leapar
Last active November 22, 2017 01:30
Show Gist options
  • Save leapar/efc018e2e63bf069a9372cfb8e70dd38 to your computer and use it in GitHub Desktop.
Save leapar/efc018e2e63bf069a9372cfb8e70dd38 to your computer and use it in GitHub Desktop.
gun
@leapar
Copy link
Author

leapar commented Oct 13, 2017

fineuploader

  1. 浏览器最大连接数 http://www.cnblogs.com/xiaoxiapier/p/4505117.html
  2. 默认是3个 可以修改maxConnections 达到更多 https://docs.fineuploader.com/api/options.html#maxConnections
<script>
    // Some options to pass to the uploader are discussed on the next page
    var uploader = new qq.FineUploader({
        element: document.getElementById("uploader"),
        //element: document.getElementById("fineuploader-container"),
        request: {
            endpoint: "http://127.0.0.1:8080/upload"
        },
        deleteFile: {
            enabled: true,
            endpoint: "http://127.0.0.1:8080/upload"
        },
        maxConnections:5,
        chunking: {
            enabled: true,
            concurrent: {
                enabled: true
            },
            success: {
                endpoint: "http://127.0.0.1:8080/chunksdone"
            }
        },
        resume: {
            enabled: true
        },
        retry: {
            enableAuto: true,
            showButton: true
        }
    })
</script>

1

@leapar
Copy link
Author

leapar commented Oct 19, 2017

开启Threejs之旅 http://www.hewebgl.com/

@leapar
Copy link
Author

leapar commented Nov 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment