Code Monkey home page Code Monkey logo

Comments (11)

zero205 avatar zero205 commented on September 4, 2024

群了有人说改成64,你是挂了几个号?我现在超额欠费了看不了日志,不行的话就改会128吧

from jd_tencent_scf.

3136083906 avatar 3136083906 commented on September 4, 2024

群了有人说改成64,你是挂了几个号?我现在超额欠费了看不了日志,不行的话就改会128吧

能不能减少通知频率,pluspush现在每天有200条限制了

from jd_tencent_scf.

Mario0o avatar Mario0o commented on September 4, 2024

一天超不了200条啊

from jd_tencent_scf.

tangclQaQ avatar tangclQaQ commented on September 4, 2024

123
7天的内存监控,偶尔会超过64,感觉问题不是很大,我是挂的一个号

from jd_tencent_scf.

jkluio78 avatar jkluio78 commented on September 4, 2024

赞成改成128M,这几天的运行内存好几次都是逼近64M了,后面再加脚本可能会超吧

from jd_tencent_scf.

zero205 avatar zero205 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

from jd_tencent_scf.

jkluio78 avatar jkluio78 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

作者要不考虑加个配置内存的环境变量,默认数值(不填)是64,需要更大的就填128、256等等,这样可以吗

from jd_tencent_scf.

zero205 avatar zero205 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

作者要不考虑加个配置内存的环境变量,默认数值(不填)是64,需要更大的就填128、256等等,这样可以吗

不错的建议,等下周我尝试添加一下试试

from jd_tencent_scf.

jkluio78 avatar jkluio78 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

作者要不考虑加个配置内存的环境变量,默认数值(不填)是64,需要更大的就填128、256等等,这样可以吗

不错的建议,等下周我尝试添加一下试试

假设环境变量是TENCENT_MemorySize,我的想法是对输入的环境变量再做下修正,因为128已经够用了,所以输入超过64的值就设定为128,小于等于64或者没有输入就是64

const MemorySize=process.env.TENCENT_MemorySize?(Number(process.env.TENCENT_MemorySize)>64?128:64):64;

image

然后再修改下传入的值,应该就可以了吧

MemorySize: MemorySize,

image

from jd_tencent_scf.

zero205 avatar zero205 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

作者要不考虑加个配置内存的环境变量,默认数值(不填)是64,需要更大的就填128、256等等,这样可以吗

不错的建议,等下周我尝试添加一下试试

假设环境变量是TENCENT_MemorySize,我的想法是对输入的环境变量再做下修正,因为128已经够用了,所以输入超过64的值就设定为128,小于等于64或者没有输入就是64

const MemorySize=process.env.TENCENT_MemorySize?(Number(process.env.TENCENT_MemorySize)>64?128:64):64;

image

然后再修改下传入的值,应该就可以了吧

MemorySize: MemorySize,

image

你测试完可以的话欢迎PR过来我合并一下,谢谢^_^

from jd_tencent_scf.

jkluio78 avatar jkluio78 commented on September 4, 2024

因为现在开启了异步执行,解决了运行900秒的限制,考虑到多账号的原因,运行时间会比较长,资源使用快。每月40万GBs的免费额度担心不够用,所以先尝试降低运行内存。后面反馈的人多的话就改回128M吧

作者要不考虑加个配置内存的环境变量,默认数值(不填)是64,需要更大的就填128、256等等,这样可以吗

不错的建议,等下周我尝试添加一下试试

已用本账户发起了PR

from jd_tencent_scf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.