我们在节点graphql服务器上使用订阅。最近加了集群能力,用Redis做pubsub。在我的本地环境中,一切都很好。当我第一次上传到heroku并使用他们的Redis插件时,我看到它显示了一个突变,但下一次却没有。几次尝试后,它再次起作用(50%起作用)。import{RedisPubSub}from'graphql-redis-subscriptions';importRedisfrom'ioredis';letREDIS_URL=process.env.REDIS_URL||'redis://127.0.0.1:6379';constoptions={retryStrategy:
由于异步方法问题,我收到一条错误消息。在我的终端中,我看到了:Warning:Can'tcallsetState(orforceUpdate)onanunmountedcomponent.Thisisano-op,butitindicatesamemoryleakinyourapplication.Tofix,cancelallsubscriptionsandasynchronoustasksinthecomponentWillUnmountmethod.-node_modules/fbjs/lib/warning.js:33:20inprintWarning-node_modules
Guideline3.1.2-Business-Payments-SubscriptionsWenoticedthatyourappdidnotmeetallthetermsandconditionsforauto-renewingsubscriptions,asspecifiedinSchedule2,section3.8(b)ofthePaidApplicationsagreement.Wewereunabletofindthefollowingrequireditem(s)inyourapp'smetadata:–AfunctionallinktotheTermsofUse(EULA)–
Guideline3.1.2-Business-Payments-SubscriptionsWenoticedthatyourappdidnotmeetallthetermsandconditionsforauto-renewingsubscriptions,asspecifiedinSchedule2,section3.8(b)ofthePaidApplicationsagreement.Wewereunabletofindthefollowingrequireditem(s)inyourapp'smetadata:–AfunctionallinktotheTermsofUse(EULA)–